hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r581094 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/FSNamesystem.java
Date Mon, 01 Oct 2007 22:08:33 GMT
Author: dhruba
Date: Mon Oct  1 15:08:32 2007
New Revision: 581094

URL: http://svn.apache.org/viewvc?rev=581094&view=rev
Log:
HADOOP-1948. Removed spurious error message during block crc upgrade.
(Raghu Angadi via dhruba)


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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=581094&r1=581093&r2=581094&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Mon Oct  1 15:08:32 2007
@@ -214,6 +214,9 @@
     HADOOP-1930.  Fix the blame for failed fetchs on the right host. (Arun C.
     Murthy via omalley)
 
+    HADOOP-1948. Removed spurious error message during block crc upgrade.
+    (Raghu Angadi via dhruba)
+
   IMPROVEMENTS
 
     HADOOP-1908. Restructure data node code so that block sending and 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=581094&r1=581093&r2=581094&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Mon Oct  1 15:08:32
2007
@@ -480,7 +480,7 @@
       }
     }
 
-    if ( crcInfo.blockLen <= 0 ) {
+    if ( crcInfo.blockLen < 0 ) {
       LOG.warn("blockCrcInfo(): " + block + 
                " could not be found in blocks for " + crcInfo.fileName);
       return crcInfo;



Mime
View raw message