hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiten...@apache.org
Subject svn commit: r1166401 - in /hadoop/common/branches/branch-0.20-security: CHANGES.txt src/test/org/apache/hadoop/hdfs/TestFileAppend4.java src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java
Date Wed, 07 Sep 2011 21:12:06 GMT
Author: jitendra
Date: Wed Sep  7 21:12:06 2011
New Revision: 1166401

URL: http://svn.apache.org/viewvc?rev=1166401&view=rev
Log:
HDFS-2300. TestFileAppend4 and TestMultiThreadedSync failure.

Modified:
    hadoop/common/branches/branch-0.20-security/CHANGES.txt
    hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestFileAppend4.java
    hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java

Modified: hadoop/common/branches/branch-0.20-security/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/CHANGES.txt?rev=1166401&r1=1166400&r2=1166401&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20-security/CHANGES.txt Wed Sep  7 21:12:06 2011
@@ -99,6 +99,8 @@ Release 0.20.205.0 - unreleased
 
     HDFS-2309. TestRenameWhileOpen fails. (jitendra)
 
+    HDFS-2300. TestFileAppend4 and TestMultiThreadedSync failure. (jitendra)
+
   IMPROVEMENTS
 
     MAPREDUCE-2187. Reporter sends progress during sort/merge. (Anupam Seth via

Modified: hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestFileAppend4.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestFileAppend4.java?rev=1166401&r1=1166400&r2=1166401&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestFileAppend4.java
(original)
+++ hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestFileAppend4.java
Wed Sep  7 21:12:06 2011
@@ -683,7 +683,7 @@ public class TestFileAppend4 extends Tes
       Throwable thrownByClose = err.get();
       assertNotNull(thrownByClose);
       assertTrue(thrownByClose instanceof IOException);
-      if (!thrownByClose.getMessage().contains("Could not complete write")) {
+      if (!thrownByClose.getMessage().contains("does not have any open files")) {
         throw thrownByClose;
       }
     } finally {

Modified: hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java?rev=1166401&r1=1166400&r2=1166401&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java
(original)
+++ hadoop/common/branches/branch-0.20-security/src/test/org/apache/hadoop/hdfs/TestMultiThreadedSync.java
Wed Sep  7 21:12:06 2011
@@ -51,15 +51,6 @@ public class TestMultiThreadedSync {
   
   private byte[] toWrite = null;
 
-  {
-    ((Log4JLogger)NameNode.stateChangeLog).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger)LeaseManager.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger)FSNamesystem.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger)DataNode.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger)DFSClient.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger)InterDatanodeProtocol.LOG).getLogger().setLevel(Level.ALL);
-  }
-
   /*
    * creates a file but does not close it
    */ 



Mime
View raw message