Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16185

Fix comment in LowRedundancyBlocks.java

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/hadoop/blob/c8e58648389c7b0b476c3d0d47be86af2966842f/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java#L249

      "can only afford one replica loss" is not correct there. Before HDFS-9857, the comment is "there is less than a third as many blocks as requested; this is considered very under-replicated" and it seems correct.

      Attachments

        Issue Links

          Activity

            People

              groot Ashutosh Gupta
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m