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

Balancer throws "Not a host:port pair" unless port is specified in fs.default.name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.1
    • 0.20.0
    • None
    • None
    • Reviewed

    Description

      If fs.default.name is specified as only a hostname (with no port), balancer throws "Not a host:port pair" and will not run.

      Workaround is to add default port 8020 to fs.default.name.

      According to Doug: "That's the work-around, but it's a bug. One should not need to specify the default port number (8020)."

      According to Raghu Angadi: "Balancer should use NameNode.getAddress(conf) to get NameNode address."

      See http://www.nabble.com/Not-a-host%3Aport-pair-when-running-balancer-td22459259.html for discussion.

      Attachments

        1. patch.txt
          1 kB
          Stuart White

        Activity

          People

            stwhit Stuart White
            stwhit Stuart White
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified