Posts: 15
Registered: ‎09-23-2014
Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001



The proper perms are


/tmp/logs should be 777 and should have sticky bit set (the 1 in the 1777, this makes all child directories inherit the group of parent dir aka hadoop). 


sudo -u hdfs hdfs dfs -chmod 1777 /tmp/logs

sudo -u hdfs hdfs dfs -chown mapred:hadoop /tmp/logs

sudo -u hdfs hdfs dfs -chgrp -R hadoop /tmp/logs


After this I would restart your JobHistory server. 

View solution in original post

Who Me Too'd this solution