You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/06/08 10:19:22 UTC

[jira] [Updated] (HADOOP-8494) bin/hadoop dfs -help tries to connect to NameNode instead of just printing help

     [ https://issues.apache.org/jira/browse/HADOOP-8494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-8494:
----------------------------

      Description: 
{code}
szx@ubuntu1:/opt/hadoop$ bin/hadoop dfs -help
12/06/07 23:18:51 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 0 time(s).
12/06/07 23:18:52 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 1 time(s).
12/06/07 23:18:53 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 2 time(s).
12/06/07 23:18:54 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 3 time(s).
12/06/07 23:18:55 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 4 time(s).
12/06/07 23:18:56 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 5 time(s).
12/06/07 23:18:57 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 6 time(s).
12/06/07 23:18:58 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 7 time(s).
12/06/07 23:18:59 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 8 time(s).
12/06/07 23:19:00 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 9 time(s).
Bad connection to FS. command aborted. exception: Call to ubuntu1/192.168.200.135:9000 failed on connection exception: java.net.ConnectException: Connection refused
{code}

  was:
szx@ubuntu1:/opt/hadoop$ bin/hadoop dfs -help
12/06/07 23:18:51 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 0 time(s).
12/06/07 23:18:52 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 1 time(s).
12/06/07 23:18:53 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 2 time(s).
12/06/07 23:18:54 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 3 time(s).
12/06/07 23:18:55 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 4 time(s).
12/06/07 23:18:56 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 5 time(s).
12/06/07 23:18:57 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 6 time(s).
12/06/07 23:18:58 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 7 time(s).
12/06/07 23:18:59 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 8 time(s).
12/06/07 23:19:00 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 9 time(s).
Bad connection to FS. command aborted. exception: Call to ubuntu1/192.168.200.135:9000 failed on connection exception: java.net.ConnectException: Connection refused


    Fix Version/s:     (was: 1.0.3)
          Summary: bin/hadoop dfs -help tries to connect to NameNode instead of just printing help  (was: bin/hadoop dfs -help)

This may not be an issue with the new FSShell design in 2.0. Did you try the new fs-shell robin?
                
> bin/hadoop dfs -help tries to connect to NameNode instead of just printing help
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-8494
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8494
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.0.3
>         Environment: ubuntu 12.04   hadoop-1.0.3
>            Reporter: robin
>
> {code}
> szx@ubuntu1:/opt/hadoop$ bin/hadoop dfs -help
> 12/06/07 23:18:51 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 0 time(s).
> 12/06/07 23:18:52 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 1 time(s).
> 12/06/07 23:18:53 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 2 time(s).
> 12/06/07 23:18:54 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 3 time(s).
> 12/06/07 23:18:55 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 4 time(s).
> 12/06/07 23:18:56 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 5 time(s).
> 12/06/07 23:18:57 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 6 time(s).
> 12/06/07 23:18:58 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 7 time(s).
> 12/06/07 23:18:59 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 8 time(s).
> 12/06/07 23:19:00 INFO ipc.Client: Retrying connect to server: ubuntu1/192.168.200.135:9000. Already tried 9 time(s).
> Bad connection to FS. command aborted. exception: Call to ubuntu1/192.168.200.135:9000 failed on connection exception: java.net.ConnectException: Connection refused
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira