You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2022/05/07 23:06:36 UTC

[hadoop] branch branch-3.3 updated: HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new c8792305479 HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)
c8792305479 is described below

commit c879230547965fd15cfc0d15a4bf1c4a361583d9
Author: Ashutosh Gupta <as...@st.niituniversity.in>
AuthorDate: Sun May 8 00:05:34 2022 +0100

    HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)
    
    Signed-off-by: Akira Ajisaka <aa...@apache.org>
    (cherry picked from commit 01027e52a9789eb5b386729f52b7bb9e52fa5352)
---
 .../hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java
index d719e937f2e..bad51ecc6c7 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java
@@ -246,8 +246,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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org