Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10576 DiskBalancer followup work items
  3. HDFS-10821

DiskBalancer: Report command support with multiple nodes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • balancer & mover
    • None

    Description

      Since HDFS-10813 has committed to the trunk, then we can use getNodes method to parse the nodes string and support multiple nodes with hdfs diskbalancer subcommands(ex -report, -query). In this JIRA, we are focusing on the subcommand -report.

      That means we can use command hdfs diskbalancer -report -node to print one or one more datanodes report info. A test input command(here I use UUID to specify one datanode):

      hdfs diskbalancer -report -node e05ade8e-fb28-42cf-9aa9-43e564c0ec99,38714337-84fb-4e35-9ea3-0bb47d6da700
      

      Attachments

        1. HDFS-10821.003.patch
          14 kB
          Yiqun Lin
        2. HDFS-10821.002.patch
          10 kB
          Yiqun Lin
        3. HDFS-10821.001.patch
          8 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: