HDFS-4583. Merged 1456052 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1456055 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e81ffd1705
commit
1ed2234b3d
|
@ -77,6 +77,8 @@ Release 2.0.5-beta - UNRELEASED
|
|||
HDFS-4595. When short circuit read is fails, DFSClient does not fallback
|
||||
to regular reads. (suresh)
|
||||
|
||||
HDFS-4583. TestNodeCount fails. (Ivan Mitic via suresh)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -104,7 +104,7 @@ public class TestNodeCount {
|
|||
while (iter.hasNext()) {
|
||||
DatanodeDescriptor dn = iter.next();
|
||||
Collection<Block> blocks = bm.excessReplicateMap.get(dn.getStorageID());
|
||||
if (blocks == null || !blocks.contains(block) ) {
|
||||
if (blocks == null || !blocks.contains(block.getLocalBlock()) ) {
|
||||
nonExcessDN = dn;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue