diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java index e4b7d4e812c..df6aa996848 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java @@ -965,9 +965,6 @@ public class Dispatcher { if (target.storageType != targetStorageType) { return false; } - if (!target.hasSpaceForScheduling(block.getNumBytes())) { - return false; - } // check if the block is moved or not if (movedBlocks.contains(block.getBlock())) { return false;