hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r700269 - in /hadoop/core/trunk: CHANGES.txt src/core/org/apache/hadoop/ipc/Client.java
Date Mon, 29 Sep 2008 21:42:54 GMT
Author: omalley
Date: Mon Sep 29 14:42:54 2008
New Revision: 700269

URL: http://svn.apache.org/viewvc?rev=700269&view=rev
Log:
HADOOP-4262. Generate better error message when client exception has null
message. (stevel via omalley)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/core/org/apache/hadoop/ipc/Client.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=700269&r1=700268&r2=700269&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Sep 29 14:42:54 2008
@@ -23,6 +23,9 @@
     HADOOP-4178. Make the capacity scheduler's default values configurable.
     (Sreekanth Ramakrishnan via omalley)
 
+    HADOOP-4262. Generate better error message when client exception has null
+    message. (stevel via omalley)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/core/trunk/src/core/org/apache/hadoop/ipc/Client.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/ipc/Client.java?rev=700269&r1=700268&r2=700269&view=diff
==============================================================================
--- hadoop/core/trunk/src/core/org/apache/hadoop/ipc/Client.java (original)
+++ hadoop/core/trunk/src/core/org/apache/hadoop/ipc/Client.java Mon Sep 29 14:42:54 2008
@@ -697,8 +697,7 @@
           throw call.error;
         } else { // local exception
           throw (IOException)new IOException(
-              "Call to "+ addr + " failed on local exception: "
-                      + call.error.getMessage())
+              "Call to "+ addr + " failed on local exception: " + call.error)
                   .initCause(call.error);
         }
       } else {



Mime
View raw message