hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r511094 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/DataNode.java
Date Fri, 23 Feb 2007 20:27:30 GMT
Author: cutting
Date: Fri Feb 23 12:27:29 2007
New Revision: 511094

URL: http://svn.apache.org/viewvc?view=rev&rev=511094
Log:
HADOOP-1034.  Fix datanode to better log exceptions.  Contributed by Philippe Gassmann.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=511094&r1=511093&r2=511094
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Feb 23 12:27:29 2007
@@ -129,6 +129,9 @@
     are also passed to the metrics system.
     (David Bowen via cutting)
 
+38. HADOOP-1034.  Fix datanode to better log exceptions.
+    (Philippe Gassmann via cutting)
+
 
 Release 0.11.2 - 2007-02-16
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java?view=diff&rev=511094&r1=511093&r2=511094
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java Fri Feb 23 12:27:29 2007
@@ -607,8 +607,8 @@
                 } finally {
                     in.close();
                 }
-            } catch (IOException ie) {
-              LOG.warn("DataXCeiver", ie);
+            } catch (Throwable t) {
+              LOG.error("DataXCeiver", t);
             } finally {
                 try {
                     xceiverCount.decr();



Mime
View raw message