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

BlockManager#computeInvalidateWork() could do nothing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      BlockManager#computeInvalidateWork() uses a for loop to check certain number of DNs to do invalidation work. but it's possible that a DN has nothing to invalidate.
      computeInvalidateWork() should loop until really invalidate certain number of DNs.

        Attachments

        1. HDFS-6511.001.patch
          1 kB
          Juan Yu

          Activity

            People

            • Assignee:
              jyu@cloudera.com Juan Yu
              Reporter:
              jyu@cloudera.com Juan Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: