HDFS-7936. Erasure coding: resolving conflicts in the branch when merging (this commit is for HDFS-7742)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a6543ac9 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a6543ac9 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a6543ac9 Branch: refs/heads/HDFS-7285 Commit: a6543ac978ac6e0e8dbf7ce32c41fb80525639ab Parents: d50bbd7 Author: Zhe Zhang <z...@apache.org> Authored: Mon Mar 30 10:23:09 2015 -0700 Committer: Zhe Zhang <z...@apache.org> Committed: Mon Mar 30 10:23:09 2015 -0700 ---------------------------------------------------------------------- .../hdfs/server/blockmanagement/TestBlockManager.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/a6543ac9/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java index cbea3d8..43f4607 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java @@ -552,11 +552,11 @@ public class TestBlockManager { assertNotNull("Chooses decommissioning source node for a normal replication" + " if all available source nodes have reached their replication" + " limits below the hard limit.", - bm.chooseSourceDatanode( - aBlock, + bm.chooseSourceDatanodes( + bm.getStoredBlock(aBlock), cntNodes, liveNodes, - new NumberReplicas(), + new NumberReplicas(), new LinkedList<Short>(), 1, UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED)); @@ -566,11 +566,11 @@ public class TestBlockManager { assertNull("Does not choose a source decommissioning node for a normal" + " replication when all available nodes exceed the hard limit.", - bm.chooseSourceDatanode( - aBlock, + bm.chooseSourceDatanodes( + bm.getStoredBlock(aBlock), cntNodes, liveNodes, - new NumberReplicas(), + new NumberReplicas(), new LinkedList<Short>(), 1, UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED)); }