hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077574 - /hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
Date Fri, 04 Mar 2011 04:30:39 GMT
Author: omalley
Date: Fri Mar  4 04:30:39 2011
New Revision: 1077574

URL: http://svn.apache.org/viewvc?rev=1077574&view=rev
Log:
commit 0673ee66c8fead32b0d5b28958d39974ee5e31ff
Author: Chris Douglas <cdouglas@apache.org>
Date:   Tue Jul 20 23:34:57 2010 -0700

    Fix failing unit test

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java?rev=1077574&r1=1077573&r2=1077574&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
Fri Mar  4 04:30:39 2011
@@ -248,10 +248,8 @@ public class TestDataNodeVolumeFailure e
 
     blockReader = 
       DFSClient.BlockReader.newBlockReader(s, targetAddr.toString() + ":" + 
-          block.getBlockId(), 
-          block.getBlockId(), 
-          block.getGenerationStamp(), 
-          0, -1, 4096);
+          block.getBlockId(), block.getBlockId(), lblock.getBlockToken(),
+          block.getGenerationStamp(), 0, -1, 4096);
 
     // nothing - if it fails - it will throw and exception
   }



Mime
View raw message