hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject svn commit: r1546194 - in /hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common: CHANGES.txt src/main/java/org/apache/hadoop/ipc/RPC.java
Date Wed, 27 Nov 2013 20:58:48 GMT
Author: umamahesh
Date: Wed Nov 27 20:58:48 2013
New Revision: 1546194

URL: http://svn.apache.org/r1546194
Log:
Merge. HADOOP-10132. RPC#stopProxy() should log the class of proxy when IllegalArgumentException
is encountered. Contributed by Ted Yu

Modified:
    hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/CHANGES.txt
    hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java

Modified: hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1546194&r1=1546193&r2=1546194&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/CHANGES.txt Wed
Nov 27 20:58:48 2013
@@ -17,6 +17,9 @@ Release 2.2.1 - UNRELEASED
     HADOOP-9623. Update jets3t dependency to 0.9.0 (Amandeep Khurana via Colin
     Patrick McCabe)
 
+    HADOOP-10132. RPC#stopProxy() should log the class of proxy when IllegalArgumentException

+    is encountered (Ted yu via umamahesh)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java?rev=1546194&r1=1546193&r2=1546194&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
(original)
+++ hadoop/common/branches/branch-2.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
Wed Nov 27 20:58:48 2013
@@ -630,7 +630,7 @@ public class RPC {
     } catch (IOException e) {
       LOG.error("Closing proxy or invocation handler caused exception", e);
     } catch (IllegalArgumentException e) {
-      LOG.error("RPC.stopProxy called on non proxy.", e);
+      LOG.error("RPC.stopProxy called on non proxy: class=" + proxy.getClass().getName(),
e);
     }
     
     // If you see this error on a mock object in a unit test you're



Mime
View raw message