hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r997942 - in /hadoop/common/branches/branch-0.20: CHANGES.txt src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java
Date Thu, 16 Sep 2010 22:33:41 GMT
Author: eli
Date: Thu Sep 16 22:33:40 2010
New Revision: 997942

URL: http://svn.apache.org/viewvc?rev=997942&view=rev
Log:
HDFS-1404. TestNodeCount logic incorrect in branch-0.20. Contributed by Todd Lipcon.

Modified:
    hadoop/common/branches/branch-0.20/CHANGES.txt
    hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java

Modified: hadoop/common/branches/branch-0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/CHANGES.txt?rev=997942&r1=997941&r2=997942&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20/CHANGES.txt Thu Sep 16 22:33:40 2010
@@ -53,6 +53,9 @@ Release 0.20.3 - Unreleased
     HADOOP-6928. Fix BooleanWritable comparator in 0.20.
     (Owen O'Malley and Johannes Zillmann via Eli Collins)
 
+    HDFS-1404. TestNodeCount logic incorrect in branch-0.20.
+    (Todd Lipcon via Eli Collins)
+
   IMPROVEMENTS
 
     MAPREDUCE-1407. Update javadoc in mapreduce.{Mapper,Reducer} to match

Modified: hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java?rev=997942&r1=997941&r2=997942&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java
(original)
+++ hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java
Thu Sep 16 22:33:40 2010
@@ -99,7 +99,7 @@ public class TestNodeCount extends TestC
       // check if excessive replica is detected
       do {
        num = namesystem.countNodes(block);
-      } while (num.excessReplicas() == 2);
+      } while (num.excessReplicas() != 2);
     } finally {
       cluster.shutdown();
     }



Mime
View raw message