安装ambariHDP后App TimeLine Server无法正常启动

时间:2024-04-14 08:55:30

App TimeLine Server 无法正常启动:
安装好ambariHDP后,各项服务已经启动,但是App TimeLine Server 无法正常启动。
web界面显示:

安装ambariHDP后App TimeLine Server无法正常启动
查看日志:/var/log/hadoop-yarn/yarn/yarn-yarn-timelineserver-k2hdp02.log

2017-06-13 15:25:36,816 ERROR applicationhistoryservice.ApplicationHistoryServer (LogAdapter.
java:error(69)) - RECEIVED SIGNAL 15: SIGTERM
2017-06-13 15:25:36,822 INFO mortbay.log (Slf4jLog.java:info(67)) - Stopped HttpServer2$Sele
[email protected]:8188
2017-06-13 15:25:36,923 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(211)) - Sto
pping ApplicationHistoryServer metrics system…
2017-06-13 15:25:36,924 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(217)) - App
licationHistoryServer metrics system stopped.
2017-06-13 15:25:36,925 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:shutdown(606)) -
ApplicationHistoryServer metrics system shutdown complete.
2017-06-13 15:25:36,925 INFO ipc.Server (Server.java:stop(2539)) - Stopping server on 10200
2017-06-13 15:25:36,926 INFO ipc.Server (Server.java:run(775)) - Stopping IPC Server listene
r on 10200
2017-06-13 15:25:36,926 INFO ipc.Server (Server.java:run(908)) - Stopping IPC Server Respond
er
2017-06-13 15:25:36,927 ERROR delegation.AbstractDelegationTokenSecretManager (AbstractDelega
tionTokenSecretManager.java:run(659)) - ExpiredTokenRemover received java.lang.InterruptedExc
eption: sleep interrupted
2017-06-13 15:25:36,927 INFO timeline.LeveldbTimelineStore (LeveldbTimelineStore.java:servic
eStop(250)) - Waiting for deletion thread to complete its current action
2017-06-13 15:25:36,927 INFO timeline.LeveldbTimelineStore (LeveldbTimelineStore.java:run(29
6)) - Deletion thread received interrupt, exiting
2017-06-13 15:25:36,928 INFO applicationhistoryservice.ApplicationHistoryServer (LogAdapter.
java:info(45)) - SHUTDOWN_MSG:

解决办法:
修改yarn的配置yarn.timeline-service.store-class的值为:
org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore (注意不要带空格,在安装配置的时候就可以修改,也可以之后修改)

安装ambariHDP后App TimeLine Server无法正常启动
参考链接:
https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_troubleshooting/content/_resolving_general_problems.html