connection-error-in-apache-pig

来源:互联网 发布:森林资源二类调查数据 编辑:程序博客网 时间:2024/06/05 16:15
出现这种错误:
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

0 0
原创粉丝点击