Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2295

Call to localhost/127.0.0.1:54310 failed on connection exception: Connection refused

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.20.2
    • Fix Version/s: None
    • Component/s: datanode, hdfs-client, namenode
    • Labels:
    • Environment:

      Ubuntu 11.04 64bit , hadoop 0.20.2

    • Tags:
      hadoop hdfs namenode datanode hbase

      Description

      when I try it
      dm@master:/usr/local/hadoop-0.20.2$ bin/hadoop dfs -ls hdfs://localhost:54310/
      It cast these exceptions
      11/08/29 11:34:29 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 0 time(s).
      11/08/29 11:34:30 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 1 time(s).
      11/08/29 11:34:31 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 2 time(s).
      11/08/29 11:34:32 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 3 time(s).
      11/08/29 11:34:33 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 4 time(s).
      11/08/29 11:34:34 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 5 time(s).
      11/08/29 11:34:35 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 6 time(s).
      11/08/29 11:34:36 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 7 time(s).
      11/08/29 11:34:37 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 8 time(s).
      11/08/29 11:34:38 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 9 time(s).
      ls: Call to localhost/127.0.0.1:54310 failed on connection exception: java.net.ConnectException: Connection refused
      Our namenode is listening to the 54310 port.
      <name>fs.default.name</name>
      <value>hdfs://master:54310</value>

        Activity

        patrick.J created issue -
        patrick.J made changes -
        Field Original Value New Value
        Original Estimate 72h [ 259200 ] 24h [ 86400 ]
        Remaining Estimate 72h [ 259200 ] 24h [ 86400 ]
        patrick.J made changes -
        Description when I try it
        dm@master:/usr/local/hadoop-0.20.2$ bin/hadoop dfs -ls hdfs://localhost:54310/
        It cast these exceptions
        11/08/29 11:34:29 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 0 time(s).
        11/08/29 11:34:30 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 1 time(s).
        11/08/29 11:34:31 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 2 time(s).
        11/08/29 11:34:32 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 3 time(s).
        11/08/29 11:34:33 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 4 time(s).
        11/08/29 11:34:34 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 5 time(s).
        11/08/29 11:34:35 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 6 time(s).
        11/08/29 11:34:36 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 7 time(s).
        11/08/29 11:34:37 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 8 time(s).
        11/08/29 11:34:38 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 9 time(s).
        ls: Call to localhost/127.0.0.1:54310 failed on connection exception: java.net.ConnectException: Connection refused

        when I try it
        dm@master:/usr/local/hadoop-0.20.2$ bin/hadoop dfs -ls hdfs://localhost:54310/
        It cast these exceptions
        11/08/29 11:34:29 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 0 time(s).
        11/08/29 11:34:30 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 1 time(s).
        11/08/29 11:34:31 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 2 time(s).
        11/08/29 11:34:32 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 3 time(s).
        11/08/29 11:34:33 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 4 time(s).
        11/08/29 11:34:34 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 5 time(s).
        11/08/29 11:34:35 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 6 time(s).
        11/08/29 11:34:36 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 7 time(s).
        11/08/29 11:34:37 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 8 time(s).
        11/08/29 11:34:38 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 9 time(s).
        ls: Call to localhost/127.0.0.1:54310 failed on connection exception: java.net.ConnectException: Connection refused
        Our namenode is listening to the 54310 port.
        <name>fs.default.name</name>
        <value>hdfs://master:54310&lt;/value>

        Hide
        Uma Maheswara Rao G added a comment -

        Hi Patrik,
        Did you check, whether your namenode started successfully?

        I think, this kind of things can be post into mailing list instead of raising in JIRA.
        JIRA is mainly to track confirmed bugs.

        Thanks,
        Uma

        Show
        Uma Maheswara Rao G added a comment - Hi Patrik, Did you check, whether your namenode started successfully? I think, this kind of things can be post into mailing list instead of raising in JIRA. JIRA is mainly to track confirmed bugs. Thanks, Uma
        Hide
        Eli Collins added a comment -

        Sounds like a configuration issue (eg no DNS setup). Please use the hdfs-dev list for these types of issues.

        Show
        Eli Collins added a comment - Sounds like a configuration issue (eg no DNS setup). Please use the hdfs-dev list for these types of issues.
        Eli Collins made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Eli Collins made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Aaron T. Myers added a comment -

        Please use the hdfs-dev list for these types of issues.

        hdfs-user@hadoop.apache.org would perhaps be more appropriate.

        Show
        Aaron T. Myers added a comment - Please use the hdfs-dev list for these types of issues. hdfs-user@hadoop.apache.org would perhaps be more appropriate.

          People

          • Assignee:
            Unassigned
            Reporter:
            patrick.J
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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

                Development