解决办法:
#切换到hdfs用户
su hdfs
#修改日志目录权限
hdfs dfs -chmod 1777 /tmp/logs
hdfs dfs -chown mapred:hadoop /tmp/logs
hdfs dfs -chgrp -R hadoop /tmp/logs
重启JobHistory Server
image
解决办法:
#切换到hdfs用户
su hdfs
#修改日志目录权限
hdfs dfs -chmod 1777 /tmp/logs
hdfs dfs -chown mapred:hadoop /tmp/logs
hdfs dfs -chgrp -R hadoop /tmp/logs
重启JobHistory Server
本文标题:查看yarn日志报错Error getting logs at
本文链接:https://www.haomeiwen.com/subject/hyrdwctx.html
网友评论