Nada Ghanem
Nada Ghanem

Reputation: 451

Hadoop error -"connection refused"?

I got the following error in Hadoop cluster . I ran a job ,and it was long and couldn't finish . Then whenever I try to access Hdfs ,I get:

"Call From li417-43.members.linode.com/174.79.191.40 to li417-43.members.linode.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused"

Any way to solve this!

Thanks

Upvotes: 1

Views: 3108

Answers (1)

WestCoastProjects
WestCoastProjects

Reputation: 63221

From the comments: no java processes are running and thus neither the NameNode nor JobTracker are running. The particular error 8020 refers to the NameNode: HDFS is not up.

Depending on the version of Hadoop you may be able to do

start-dfs.sh
start-mapred.sh

OR

start-all.sh

After that you will need to examine the HDFS logs to see what are the issues. You may also post log entries here for further assistance.

Upvotes: 2

Related Questions