1
votes

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

1
Your namenode went down. run jps and check if name node is up or not? Check for logs why it went down andy exception error etc? - SMA
I can't run jps command: "command not found"! - Nada Ghanem
set JAVA_HOME and then try JPS.. - Rengasamy
I got this after runing jps:"30037 Jps" - Nada Ghanem

1 Answers

2
votes

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.