hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r607892 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/ipc/Server.java
Date Tue, 01 Jan 2008 18:35:57 GMT
Author: dhruba
Date: Tue Jan  1 10:35:56 2008
New Revision: 607892

URL: http://svn.apache.org/viewvc?rev=607892&view=rev
Log:
HADOOP-2492. Additional debugging in the rpc server to better
diagnose ConcurrentModificationException. (dhruba)


Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=607892&r1=607891&r2=607892&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Jan  1 10:35:56 2008
@@ -303,6 +303,9 @@
     HADOOP-2452. Fix eclipse plug-in build.xml to refers to the right
     location where hadoop-*-core.jar is generated. (taton)
 
+    HADOOP-2492. Additional debugging in the rpc server to better 
+    diagnose ConcurrentModificationException. (dhruba)
+
 Release 0.15.2 - 2008-01-02
 
   BUG FIXES

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java?rev=607892&r1=607891&r2=607892&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Tue Jan  1 10:35:56 2008
@@ -505,7 +505,8 @@
           LOG.warn("Out of Memory in server select", e);
           try { Thread.sleep(60000); } catch (Exception ie) {}
         } catch (Exception e) {
-          LOG.warn("Exception in Responder " + e);
+          LOG.warn("Exception in Responder " + 
+                   StringUtils.stringifyException(e));
         }
       }
       LOG.info("Stopping " + this.getName());
@@ -912,10 +913,12 @@
           responder.doRespond(call);
         } catch (InterruptedException e) {
           if (running) {                          // unexpected -- log it
-            LOG.info(getName() + " caught: " + e, e);
+            LOG.info(getName() + " caught: " +
+                     StringUtils.stringifyException(e));
           }
         } catch (Exception e) {
-          LOG.info(getName() + " caught: " + e, e);
+          LOG.info(getName() + " caught: " +
+                   StringUtils.stringifyException(e));
         }
       }
       LOG.info(getName() + ": exiting");



Mime
View raw message