hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r417273 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/UnregisteredDatanodeException.java
Date Mon, 26 Jun 2006 18:28:53 GMT
Author: cutting
Date: Mon Jun 26 11:28:53 2006
New Revision: 417273

URL: http://svn.apache.org/viewvc?rev=417273&view=rev
Log:
HADOOP-304.  Improve error message for UnregisteredDatanodeException to include expected node
name.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=417273&r1=417272&r2=417273&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Mon Jun 26 11:28:53 2006
@@ -51,6 +51,10 @@
     starting MapReduce jobs, making it easier to debug this common
     error.  (omalley via cutting)
 
+13. HADOOP-304.  Improve error message for
+    UnregisterdDatanodeException, adding expected node name.
+   (Konstantin Shvachko via cutting)
+
 
 Release 0.3.2 - 2006-06-09
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/UnregisteredDatanodeException.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/UnregisteredDatanodeException.java?rev=417273&r1=417272&r2=417273&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/UnregisteredDatanodeException.java
(original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/UnregisteredDatanodeException.java
Mon Jun 26 11:28:53 2006
@@ -18,8 +18,8 @@
   public UnregisteredDatanodeException( DatanodeID nodeID, 
                                         DatanodeInfo storedNode ) {
     super("Data node " + nodeID.getName() 
-        + "is attempting to report storage ID "
-        + nodeID.getStorageID() + ". Expecting " 
-        + storedNode.getStorageID() + ".");
+        + " is attempting to report storage ID "
+        + nodeID.getStorageID() + ". Node " 
+        + storedNode.getName() + " is expected to serve this storage.");
   }
 }



Mime
View raw message