我是新的hadoop分布式文件系统,我已经在我的机器上完成hadoop单节点的安装。之后,当我要上传数据到hdfs它给出错误消息权限被拒绝。
@H_404_1@来自终端的消息与命令:
原文链接:/bash/389558.htmlhduser@ubuntu:/usr/local/hadoop$ hadoop fs -put /usr/local/input-data/ /input put: /usr/local/input-data (Permission denied) hduser@ubuntu:/usr/local/hadoop$@H_404_1@使用sudo和添加hduser到sudouser:
hduser@ubuntu:/usr/local/hadoop$ sudo bin/hadoop fs -put /usr/local/input-data/ /inwe put: org.apache.hadoop.security.AccessControlException: Permission denied: user=root,access=WRITE,inode="":hduser:supergroup:rwxr-xr-x hduser@ubuntu:/usr/local/hadoop$