Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6272

Improve FSNamesystem.listCorruptFileBlocks so that it doesn't need to acquire the readLock.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      FSNamesystem.listCorruptFileBlocks currently needs to take readLock to enumerate the list of corruptFileBlocks. The call will be blocked if NN's writeLock is owned by another thread. It will be useful if FSNamesystem.listCorruptFileBlocks doesn't require readLock for scenarios like JMX.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ming Ma
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development