Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6185 HDFS operational and debuggability improvements
  3. HDFS-5986

Capture the number of blocks pending deletion on namenode webUI

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0, 3.0.0-alpha1
    • 2.4.0
    • namenode
    • None
    • Reviewed

    Description

      When a directory that has large number of directories and files are deleted, the namespace deletes the corresponding inodes immediately. However it is hard to to know when the invalidated blocks are actually deleted on the datanodes, which could take a while.

      I propose adding on namenode webUI, along with under replicated blocks, the number of blocks that are pending deletion.

      Attachments

        1. HDFS-5986.1.patch
          3 kB
          Chris Nauroth
        2. HDFS-5986-screenshot.png
          176 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              sureshms Suresh Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: