hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rang...@apache.org
Subject svn commit: r620008 - in /hadoop/core/branches/branch-0.16: CHANGES.txt src/java/org/apache/hadoop/dfs/DataBlockScanner.java
Date Fri, 08 Feb 2008 21:41:24 GMT
Author: rangadi
Date: Fri Feb  8 13:41:21 2008
New Revision: 620008

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

Modified:
    hadoop/core/branches/branch-0.16/CHANGES.txt
    hadoop/core/branches/branch-0.16/src/java/org/apache/hadoop/dfs/DataBlockScanner.java

Modified: hadoop/core/branches/branch-0.16/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.16/CHANGES.txt?rev=620008&r1=620007&r2=620008&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.16/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.16/CHANGES.txt Fri Feb  8 13:41:21 2008
@@ -4,6 +4,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/branches/branch-0.16/src/java/org/apache/hadoop/dfs/DataBlockScanner.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.16/src/java/org/apache/hadoop/dfs/DataBlockScanner.java?rev=620008&r1=620007&r2=620008&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.16/src/java/org/apache/hadoop/dfs/DataBlockScanner.java
(original)
+++ hadoop/core/branches/branch-0.16/src/java/org/apache/hadoop/dfs/DataBlockScanner.java
Fri Feb  8 13:41:21 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