我已经更改了hdfs目录的权限
hdfs dfs -chmod 777 /path/to/dir但是,当以非sudo用户的身份写入该目录时,我会得到一个权限错误。
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=crtemois, access=WRITE, inode="/aggregation/system/data/clean":owners:hdfs:drwxr-xr-x
发布于 2018-09-12 19:08:11
原因是Apache Ranger是分层的。即使通过chmod 777更改了权限,如果用户权限没有在Apache中设置,编写也是不可能的。
https://stackoverflow.com/questions/52301513
复制相似问题