hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r541792 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/ipc/Server.java
Date Fri, 25 May 2007 21:50:10 GMT
Author: cutting
Date: Fri May 25 14:50:09 2007
New Revision: 541792

URL: http://svn.apache.org/viewvc?view=rev&rev=541792
Log:
HADOOP-1429.  Stop logging exceptions during normal IPC server shutdown.  Contributed by stack.

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?view=diff&rev=541792&r1=541791&r2=541792
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri May 25 14:50:09 2007
@@ -72,6 +72,9 @@
  23. HADOOP-1376.  Modify RandomWriter example so that it can generate
      data for the Terasort benchmark.  (Devaraj Das via cutting)
 
+ 24. HADOOP-1429.  Stop logging exceptions during normal IPC server
+     shutdown.  (stack via cutting)
+
 
 Branch 0.13 (unreleased changes)
 

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?view=diff&rev=541792&r1=541791&r2=541792
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Fri May 25 14:50:09 2007
@@ -593,7 +593,10 @@
               call.connection.close();
             }
           }
-
+        } catch (InterruptedException e) {
+          if (running) {                          // unexpected -- log it
+            LOG.info(getName() + " caught: " + e, e);
+          }
         } catch (Exception e) {
           LOG.info(getName() + " caught: " + e, e);
         }



Mime
View raw message