Kaynağa Gözat

HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
Ashutosh Gupta 3 yıl önce
ebeveyn
işleme
01027e52a9

+ 2 - 2
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java

@@ -248,8 +248,8 @@ class LowRedundancyBlocks implements Iterable<BlockInfo> {
       // highest priority
       return QUEUE_HIGHEST_PRIORITY;
     } else if ((curReplicas * 3) < expectedReplicas) {
-      //can only afford one replica loss
-      //this is considered very insufficiently redundant blocks.
+      //there is less than a third as many blocks as requested;
+      //this is considered very under-replicated.
       return QUEUE_VERY_LOW_REDUNDANCY;
     } else {
       //add to the normal queue for insufficiently redundant blocks