hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rang...@apache.org
Subject svn commit: r620009 - in /hadoop/core/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/DataBlockScanner.java
Date Fri, 08 Feb 2008 21:44:38 GMT
Author: rangadi
Date: Fri Feb  8 13:44:37 2008
New Revision: 620009

URL: http://svn.apache.org/viewvc?rev=620009&view=rev
Log:
HADOOP-2785. minor. Fix a typo in Datanode block verification (Raghu Angadi)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataBlockScanner.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=620009&r1=620008&r2=620009&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Feb  8 13:44:37 2008
@@ -33,6 +33,9 @@
 
   BUG FIXES
 
+    HADOOP-2785. minor. Fix a typo in Datanode block verification 
+                 (Raghu Angadi)
+    
     HADOOP-2788. minor. Fix help message for chgrp shell command (Raghu Angadi).
     
     HADOOP-1188. fstime file is updated when a storage directory containing

Modified: hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataBlockScanner.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataBlockScanner.java?rev=620009&r1=620008&r2=620009&view=diff
==============================================================================
--- hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataBlockScanner.java (original)
+++ hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataBlockScanner.java Fri Feb  8 13:44:37
2008
@@ -224,7 +224,7 @@
      * the scan period. Otherwise something sooner.
      */
     long period = Math.min(scanPeriod, 
-                           Math.max(blockMap.size(),1) * 60 * 1000L);
+                           Math.max(blockMap.size(),1) * 600 * 1000L);
     return System.currentTimeMillis() - scanPeriod + 
            random.nextInt((int)period);    
   }



Mime
View raw message