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

DiskBalancer process may throws IllegalArgumentException when the target DataNode has capital letter in hostname

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      DiskBalancer process read DataNode hostname as lowercase letters,

      but there is no letter case transform when getNodeByName.

      For a DataNode with lowercase hostname. everything is ok.
      But for a DataNode with uppercase hostname, when Balancer process try to migrate on it, there will be a IllegalArgumentException thrown as below,

      2022-10-09 16:15:26,631 ERROR tools.DiskBalancerCLI: java.lang.IllegalArgumentException: Unable to find the specified node. node-group-1YlRf0002
      

      Attachments

        1. screenshot-2.png
          18 kB
          Daniel Ma
        2. screenshot-1.png
          59 kB
          Daniel Ma

        Issue Links

          Activity

            People

              Daniel Ma Daniel Ma
              Daniel Ma Daniel Ma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: