permission denied while executing START-DFS.SH in Ubuntu

谁说我不能喝 提交于 2019-12-11 13:15:31

问题


suresh@suresh-laptop:/$ usr/local/hadoop-2.6.0/sbin/start-all.sh This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh 15/02/01 00:24:52 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured. Starting namenodes on [] suresh@localhost's password: localhost: mkdir: cannot create directory /usr/local/hadoop-2.6.0/logs': Permission denied localhost: chown: cannot access/usr/local/hadoop-2.6.0/logs': No such file or directory


回答1:


Please check these commands:

sudo adduser suresh sudo
chown -R /usr/local/hadoop-2.6.0
chmod -R 755 /usr/local/hadoop-2.6.0


来源:https://stackoverflow.com/questions/28255344/permission-denied-while-executing-start-dfs-sh-in-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!