开发者

Does java api for hadoop writing require SSH?

Hi guys : Im trying to setup writes to a remote, single node hadoop instance (remote in that its running on my box in a VM)....

However Im getting the following error (keeps trying to reconnec开发者_开发技巧t but cannot).

11/10/03 23:03:08 INFO ipc.Client: Retrying connect to server: /132.11.665.103:8020. Already tried 7 time(s).

Do I have to setup keyless ssh for my java code to open an input stream to the remote hadoop file server ? 


It thinks that the NameNode does not exist. Your core-site.xml configuration is either incorrect by not pointing to the right NameNode, or your NameNode has not been started. I found this resource, which describes your problem, I believe.

Most of Hadoop's internal communication is done over plain HTTP, so I can't think of a reason that SSH might be involved.


Here are a couple of things you can also check.

  • See if you are able to ping from the host to the guest.
  • Check the firewall setting on the guest.
  • Check if the name node port number (8020) is correct.
  • Do a netstat on the guest and see if 8020 is open.

The SocketTimeoutException is thrown when you are trying to connect to the namenode.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜