View yarn log error Error getting logs at ***: 8041

solution:

1, modify the directory permissions

su hdfs
hdfs dfs -chmod 1777 /tmp/logs
hdfs dfs -chown mapred:hadoop /tmp/logs
hdfs dfs -chgrp -R hadoop /tmp/logs

2, restart JobHistory Server

Guess you like

Origin blog.csdn.net/kanaka10/article/details/90478715