【发布时间】:2019-03-23 03:52:23
【问题描述】:
在以 map reduce 模式启动 Pig 之前,您总是必须在尝试执行 Pig Latin 语句时启动历史服务器,否则会生成下面提到的日志:
2018-10-18 15:59:13,709 [main] INFO
org.apache.hadoop.mapred.ClientServiceDelegate - Application state
is completed. FinalApplicationStatus=SUCCEEDED. **Redirecting to job
history server**
2018-10-18 15:59:14,713 [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=1000
MILLISECONDS)
如上日志所示 Pig Execution engine is trying to connect with the history server 请解释一下作业历史服务器在Hadoop中的作用以及为什么需要与Pig中的历史服务器建立连接以进行Map Reduce工作
【问题讨论】:
标签: hadoop mapreduce bigdata apache-pig history