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

Key: HADOOP-5463
URL: https://issues.apache.org/jira/browse/HADOOP-5463
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Affects Versions: 0.19.1
Reporter: Stuart White
Priority: Minor


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.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Stuart White (JIRA) at Mar 11, 2009 at 7:47 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

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

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Stuart White (JIRA) at Mar 11, 2009 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

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

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Stuart White (JIRA) at Mar 11, 2009 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

    Attachment: (was: patch.txt)
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Stuart White (JIRA) at Mar 11, 2009 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

    Attachment: patch.txt

    Previous patch forgot the import.
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Stuart White (JIRA) at Mar 11, 2009 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

    Attachment: (was: patch.txt)
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Mar 11, 2009 at 8:11 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Doug Cutting updated HADOOP-5463:
    ---------------------------------

    Assignee: Stuart White
    Hadoop Flags: [Reviewed]
    Status: Patch Available (was: Open)

    Submitting to Hudson. Hudson will complain that there's no test. This would be difficult to test w/o modifying Balancer more substantially, since we don't like to use fixed port numbers in tests, and testing this requires a fixed port number.
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Stuart White (JIRA) at Mar 11, 2009 at 8:21 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Stuart White updated HADOOP-5463:
    ---------------------------------

    Comment: was deleted

    (was: Previous patch forgot the import. )
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Mar 11, 2009 at 11:47 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681097#action_12681097 ]

    Hadoop QA commented on HADOOP-5463:
    -----------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12401963/patch.txt
    against trunk revision 752590.

    +1 @author. The patch does not contain any @author tags.

    -1 tests included. The patch doesn't appear to include any new or modified tests.
    Please justify why no tests are needed for this patch.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 release audit. The applied patch does not increase the total number of release audit warnings.

    -1 core tests. The patch failed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/72/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/72/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/72/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/72/console

    This message is automatically generated.
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Mar 17, 2009 at 7:05 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-5463:
    ----------------------------------

    Resolution: Fixed
    Status: Resolved (was: Patch Available)

    I've just committed this. Thanks, Stuart!
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Mar 17, 2009 at 11:08 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-5463:
    ----------------------------------

    Fix Version/s: 0.20.0
    Balancer throws "Not a host:port pair" unless port is specified in fs.default.name
    ----------------------------------------------------------------------------------

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Fix For: 0.20.0

    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Mar 18, 2009 at 5:22 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683087#action_12683087 ]

    Hudson commented on HADOOP-5463:
    --------------------------------

    Integrated in Hadoop-trunk #783 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/783/])
    . Balancer throws "Not a host:port pair" unless port is specified in fs.default.name. Contributed by Stuart White.

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

    Key: HADOOP-5463
    URL: https://issues.apache.org/jira/browse/HADOOP-5463
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.19.1
    Reporter: Stuart White
    Assignee: Stuart White
    Priority: Minor
    Fix For: 0.20.0

    Attachments: patch.txt

    Original Estimate: 1h
    Remaining Estimate: 1h

    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.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 11, '09 at 7:45p
activeMar 18, '09 at 5:22p
posts12
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 12 posts

People

Translate

site design / logo © 2021 Grokbase