Reply
New Contributor
Posts: 5
Registered: ‎11-21-2015

Yarn Service : Error while starting -- CDH5

[ Edited ]

Hi ALL ,

 

I installed cdh5 manager and tried to bringup services HDFS , Yarn and cloud era manager .
While starting YArn service , it exited with below Error : [NB : <machine> --> host name]

Default file system [hdfs://<machine>:8020]
Service org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://<machine>:8020/user/history/done]
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://<machine>:8020/user/history/done]

 

Any one has any idea about this Error ?

Thanks

Rishal

New Contributor
Posts: 5
Registered: ‎11-21-2015

Re: Yarn Service : Error on start CDH5

**ERROR- Details Updated** Permission denied: user=mapred, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x
New Contributor
Posts: 5
Registered: ‎11-21-2015

Re: Yarn Service : Error on start CDH5

 
New Contributor
Posts: 5
Registered: ‎11-21-2015

Re: Yarn Service : Error on start CDH5

Got it fixed : (WAs a small permission issue ..My bad !!!)

sudo -u hdfs hadoop fs -chmod -R 777 /

 

 

 

Posts: 819
Kudos: 93
Solutions: 47
Registered: ‎04-06-2015

Re: Yarn Service : Error on start CDH5

Congratulations on solving your issue!  :)

Cy Jervis, Community Manager


Was your question answered? Make sure to mark it as an accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Explorer
Posts: 10
Registered: ‎11-21-2017

Re: Yarn Service : Error on start CDH5

isn't this unsafe?

Highlighted
New Contributor
Posts: 2
Registered: ‎08-08-2018

Re: Yarn Service : Error on start CDH5

Quite unsafe.

 

 

[hdfs@node1 ~]$ hdfs dfs -mkdir -p /user/history
[hdfs@node1 ~]$ hdfs dfs -chmod -R 1777 /user/history
[hdfs@node1 ~]$ hdfs dfs -chown mapred:hadoop /user/history

Announcements