ipc.Client: Retrying connect to server: .../10.0.0.27:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

Run broke the wrong time

Exception in thread "main" java.io.IOException: java.net.ConnectException: Call From hadoop.slave01/192.168.121.133 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
	at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:344)
	at org.apache.hadoop.mapred.ClientServiceDelegate.getJobStatus(ClientServiceDelegate.java:429)
	at org.apache.hadoop.mapred.YARNRunner.getJobStatus(YARNRunner.java:601)
	at org.apache.hadoop.mapreduce.Job$1.run(Job.java:323)
	at org.apache.hadoop.mapreduce.Job$1.run(Job.java:320)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1758)
	at org.apache.hadoop.mapreduce.Job.updateStatus(Job.java:320)
	at org.apache.hadoop.mapreduce.Job.isComplete(Job.java:604)
	at org.apache.hadoop.mapreduce.Job.monitorAndPrintJob(Job.java:1349)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1311)
	at com.mr.wordcount.WordcountDriver.main(WordcountDriver.java:32)
FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
ipc.Client: Retrying connect to server: hadoop-master/10.0.0.27:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

  

  

To turn sbin following historyserver

mr-jobhistory-daemon.sh start historyserver

  

This should open a bit slow and so; then view the listening port 10200

netstat -an | grep 10020  

Until you see the following monitor success

 

Guess you like

Origin www.cnblogs.com/Jomini/p/11518476.html