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

Enhance dfsadmin listOpenFiles command to list files blocking datanode decommissioning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.1.0, 3.0.1
    • hdfs
    • None
    • Reviewed

    Description

      HDFS-10480 adds listOpenFiles option is to dfsadmin command to list all the open files in the system.

      Additionally, it would be very useful to only list open files that are blocking the DataNode decommissioning. With thousand+ node clusters, where there might be machines added and removed regularly for maintenance, any option to monitor and debug decommissioning status is very helpful. Proposal here is to add suboptions to listOpenFiles for the above case.

      Attachments

        1. HDFS-11847.01.patch
          42 kB
          Manoj Govindassamy
        2. HDFS-11847.02.patch
          56 kB
          Manoj Govindassamy
        3. HDFS-11847.03.patch
          60 kB
          Manoj Govindassamy
        4. HDFS-11847.04.patch
          60 kB
          Manoj Govindassamy
        5. HDFS-11847.05.patch
          61 kB
          Manoj Govindassamy

        Issue Links

          Activity

            People

              manojg Manoj Govindassamy
              manojg Manoj Govindassamy
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: