hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r730277 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Date Wed, 31 Dec 2008 00:37:10 GMT
Author: shv
Date: Tue Dec 30 16:37:10 2008
New Revision: 730277

URL: http://svn.apache.org/viewvc?rev=730277&view=rev
Log:
HADOOP-4935. processMisReplicatedBlocks() should not clear excessReplicateMap. Contributed
by Konstantin Shvachko.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=730277&r1=730276&r2=730277&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Dec 30 16:37:10 2008
@@ -1634,6 +1634,9 @@
     HADOOP-4951. Lease monitor should acquire the LeaseManager lock but not the
     Monitor lock. (szetszwo)
 
+    HADOOP-4935. processMisReplicatedBlocks() should not clear 
+    excessReplicateMap. (shv)
+
 Release 0.18.2 - 2008-11-03
 
   BUG FIXES

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java?rev=730277&r1=730276&r2=730277&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java Tue
Dec 30 16:37:10 2008
@@ -2954,7 +2954,6 @@
   private synchronized void processMisReplicatedBlocks() {
     long nrInvalid = 0, nrOverReplicated = 0, nrUnderReplicated = 0;
     neededReplications.clear();
-    excessReplicateMap.clear();
     for(BlocksMap.BlockInfo block : blocksMap.getBlocks()) {
       INodeFile fileINode = block.getINode();
       if(fileINode == null) {



Mime
View raw message