You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Qing Chi 79624 <ch...@vmware.com> on 2015/10/23 06:25:42 UTC
An issue that History Server can not be started during create a
HDP-2.3 cluster using REST API with Ambari server 2.1.1.
Hello guys,
I faced an issue that History Server can not be started during create a HDP-2.3 cluster using REST API with Ambari server 2.1.1. But using Ambari server 2.1.0 is OK(The history server can start in the same blueprint).
The error message is,
2015-10-23 04:02:58,222 INFO service.AbstractService (AbstractService.java:noteFailure(272)) - Service org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://sin2-pekaurora-bdcqevlan57-130.eng.vmware.com:8020/mr-history/done]
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://sin2-pekaurora-bdcqevlan57-130.eng.vmware.com:8020/mr-history/done]
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.tryCreatingHistoryDirs(HistoryFileManager.java:591)
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.createHistoryDirs(HistoryFileManager.java:537)
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.serviceInit(HistoryFileManager.java:505)
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:143)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.launchJobHistoryServer(JobHistoryServer.java:221)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:231)
Caused by: org.apache.hadoop.security.AccessControlException: Permission denied: user=mapred, access=WRITE, inode=
"/mr-history/done":hdfs:hdfs:drwxr-xr-x
Please take a look at it. Attachments are blueprint and history server log.
Thanks,
-qing