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 e4b7d4e812..df6aa99684 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 @@ private boolean isGoodBlockCandidate(StorageGroup source, StorageGroup target, 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;