Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5094

Show dead nodes information in dfsadmin -report

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18.2
    • 0.21.0
    • None
    • None
    • Incompatible change, Reviewed
    • Changed df dfsadmin -report to list live and dead nodes, and attempt to resolve the hostname of datanode ip addresses.

    Description

      As part of operations responsibility to bring back dead nodes, it will be good to have a quick way to obtain a list of dead data nodes.
      The current way is to scrape the namenode web UI page and parse that information, but this creates load on the namenode.
      In search of a less costly way, I noticed dfsadmin -report only reports data nodes with State: "In Service" and "Decommission in progress" get listed.
      Asking for a cheap way to obtain a list of dead nodes.

      In addition, can the following requests be reviewed for additional enhancement and changes to dfsadmin -report.

      • Consistent formatting output in "Remaining raw bytes:" for the data nodes should have a space between the exact value and the parenthesized value.
        Sample:
        Total raw bytes: 3842232975360 (3.49 TB)
        Remaining raw bytes: 146090593065(136.06 GB)
        Used raw bytes: 3240864964620 (2.95 TB)
      • Include the running version of Hadoop.
      • What is the meaning of "Total effective bytes"?
      • Display the hostname instead of the IP address for the data node (toggle option?)

      Attachments

        1. DfsAdminDeadNode_testCases.html
          3 kB
          gary murry
        2. DfsAdminDeadNode_testCases.html
          2 kB
          gary murry
        3. HADOOP-5094.patch
          6 kB
          Jakob Homan
        4. HADOOP-5094.patch
          6 kB
          Jakob Homan
        5. HADOOP-5094.patch
          4 kB
          Jakob Homan

        Issue Links

          Activity

            People

              jghoman Jakob Homan
              jimhuang Jim Huang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: