无法启动YARN - 启动JobHistoryServer时出错

时间:2015-09-07 08:15:43

标签: cloudera yarn

我在重启YARN服务时遇到问题。它会因以下日志中显示的错误而失败。 YARN工作正常,直到上周,然后突然出现以下错误消息。

尝试重新启动YARN / JOB历史记录服务器。没有任何效果。请帮助缓解这个问题。

谢谢, Vinoth

Error starting JobHistoryServer
java.lang.IllegalAccessError: tried to access class    org.apache.hadoop.mapred.JobACLsManager from class org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.serviceInit(HistoryFileManager.java:503)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.mapreduce.v2.hs.JobHistory.serviceInit(JobHistory.java:94)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.serviceInit(JobHistoryServer.java:145)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.launchJobHistoryServer(JobHistoryServer.java:222)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:232)

1 个答案:

答案 0 :(得分:0)

你在伪环境中工作吗? 还不清楚用于重启的命令。 您可以尝试以下命令重新启动: sudo服务hadoop-master停止 sudo service hadoop-master start

-Senthil