Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Yarn Service : Error while starting -- CDH5

Yarn Service : Error while starting -- CDH5

New Contributor

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

6 REPLIES 6

Re: Yarn Service : Error on start CDH5

New Contributor
**ERROR- Details Updated** Permission denied: user=mapred, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x

Re: Yarn Service : Error on start CDH5

New Contributor
 

Re: Yarn Service : Error on start CDH5

New Contributor

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

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

 

 

 

Re: Yarn Service : Error on start CDH5

Community Manager

Congratulations on solving your issue!  :)



Cy Jervis, Community Manager

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

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum

Re: Yarn Service : Error on start CDH5

Explorer

isn't this unsafe?

Re: Yarn Service : Error on start CDH5

New Contributor

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