ERROR: Unable to write in xxxlogs. Aborting.

xiaoxiao2021-03-01  31

在进行Hadoop节点格式化时候出现

Starting resourcemanager  ERROR: Unable to write in /home/zhang/opt/hadoop-3.1.0/logs. Aborting.

原因:权限不够

加入-R 参数,将读写权限传递给子文件夹 chmod -R 777 /logs

 

或者出现了Cannot create directory

同样是因为权限不够:将需要的权限给予相应的 文件夹

sudo chmod -R a+w /tmp

 

转载请注明原文地址: https://www.6miu.com/read-4550232.html

最新回复(0)