hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077047 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java
Date Fri, 04 Mar 2011 03:35:28 GMT
Author: omalley
Date: Fri Mar  4 03:35:28 2011
New Revision: 1077047

URL: http://svn.apache.org/viewvc?rev=1077047&view=rev
Log:
commit f8674fa8bde00771a8b2b7e24232f88b6657645d
Author: Jitendra Nath Pandey <jitendra@yahoo-inc.com>
Date:   Thu Nov 5 14:46:23 2009 -0800

    Change to add stack trace in server logs in case of runtime exception in namenode.complete
operation.
    The jira is: HADOOP-6343
    The patch is : https://issues.apache.org/jira/secure/attachment/12424150/HADOOP-6343.0-20.patch

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java?rev=1077047&r1=1077046&r2=1077047&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/RPC.java
Fri Mar  4 03:35:28 2011
@@ -545,6 +545,9 @@ public class RPC {
           throw ioe;
         }
       } catch (Throwable e) {
+        if (!(e instanceof IOException)) {
+          LOG.error("Unexpected throwable object ", e);
+        }
         IOException ioe = new IOException(e.toString());
         ioe.setStackTrace(e.getStackTrace());
         throw ioe;



Mime
View raw message