hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r595012 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/DFSTestUtil.java
Date Wed, 14 Nov 2007 19:15:11 GMT
Author: dhruba
Date: Wed Nov 14 11:15:10 2007
New Revision: 595012

URL: http://svn.apache.org/viewvc?rev=595012&view=rev
Log:
HADOOP-2204. DFSTestUtil.waitReplication was not waiting for all replicas
to get created, thus causing unit test failure.
(Raghu Angadi via dhruba)


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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=595012&r1=595011&r2=595012&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Nov 14 11:15:10 2007
@@ -97,6 +97,10 @@
     HADOOP-1130. The FileSystem.closeAll() method closes all existing
     DFSClients.  (Chris Douglas via dhruba)
 
+    HADOOP-2204. DFSTestUtil.waitReplication was not waiting for all replicas
+    to get created, thus causing unit test failure.
+    (Raghu Angadi via dhruba)
+
 Release 0.15.1 -
 
   IMPROVEMENTS

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/DFSTestUtil.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/DFSTestUtil.java?rev=595012&r1=595011&r2=595012&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/DFSTestUtil.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/DFSTestUtil.java Wed Nov 14 11:15:10
2007
@@ -195,6 +195,7 @@
         if (loc.length != replFactor) {
           System.out.println("File " + fileName + " has replication factor " +
               loc.length);
+          good = false;
           try {
             System.out.println("Waiting for replication factor to drain");
             Thread.sleep(100);



Mime
View raw message