Get your own customer support community
 

Can't connect to the DFS

I'm having trouble with the HDFS. I followed all the instructions in the wiki but apparently can connect to the hdfs. I get the following error when I try to copy the conf from my local machine to the dfs.

$ bin/hadoop dfs -copyFromLocal conf input
09/02/15 21:19:53 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 0 time(s).
09/02/15 21:19:54 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 1 time(s).
09/02/15 21:19:55 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 2 time(s).
09/02/15 21:19:56 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 3 time(s).
09/02/15 21:19:57 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 4 time(s).
09/02/15 21:19:58 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 5 time(s).
09/02/15 21:19:59 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 6 time(s).
09/02/15 21:20:00 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 7 time(s).
09/02/15 21:20:01 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 8 time(s).
09/02/15 21:20:02 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:58273. Already tried 9 time(s).
Bad connection to FS. command aborted.

I also tried bin/hadoop dfs -help
and got the same error.

The only part of the Wiki where I had trouble was when I had allow login without password. The authorized_key file did not exist and I had to make it.

Does anybody know what the error means? or how to fix it?

Thanks!

Juan
 
sad I’m frustrated
Inappropriate?
3 people have this question

User_default_medium