Saturday, October 25, 2014

Unable to start historyserver service


If you see error as below in your log file while failed to start the history server, then you can use the command sudo su -l hdfs -c "hadoop dfs -chmod -R 755 /" to fix it and then restart the service with sudo service hadoop-mapreduce-historyserver restart 

Permission denied: user=robing, access=WRITE, inode="/":mapred:hadoop:rwxr-xr-x