本文主要是介绍connection-error-in-apache-pig,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
出现这种错误:2013-07-29 13:24:08,591 [main] INFO org.apache.hadoop.mapred.ClientServiceDelegate - Application state is completed. FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
013-07-29 11:57:29,421 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-07-29 11:57:30,421 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-07-29 11:57:31,422 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
mapred-site.xml中添加:
<property>
<name>mapreduce.jobhistory.address</name>
<value>host:port</value>
</property>
进入hadoop/sbin中执行:
mr-jobhistory-daemon.sh start historyserver
原文链接:http://stackoverflow.com/questions/17930644/connection-error-in-apache-pig
这篇关于connection-error-in-apache-pig的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!