You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/03/04 05:30:39 UTC
svn commit: r1077574 -
/hadoop/common/branches/branch-0.20-security-patches/src/test/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
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 <cd...@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
}