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
Created 11-21-2015 12:08 PM
Created 11-21-2015 12:15 PM
Created 11-21-2015 12:16 PM
Got it fixed : (WAs a small permission issue ..My bad !!!)
sudo -u hdfs hadoop fs -chmod -R 777 /
Created 11-22-2015 04:47 AM
Congratulations on solving your issue! :)
Created 11-24-2017 06:45 AM
isn't this unsafe?
Created 08-10-2018 05:58 AM
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