HADOOP Exception in thread "main" org.apache.hadoop.security.AccessControlException: Permission deni

错误:Exception in thread "main" org.apache.hadoop.security.AccessControlException: Permission denied: user=PC-TIAN, access=WRITE, inode="/":root:supergroup:drwxr-xr-x

 dfs.permissions

– 如果是true则检查权限,否则不检查(每一个人都可以存取文件) 

– 于NameNode上设定

– 默认值:true

posted @ 2022-05-29 08:31  田领群  阅读(119)  评论(0编辑  收藏  举报