Reply
Explorer
Posts: 9
Registered: ‎12-13-2016
Accepted Solution

Cannot change HDFS ACLs

Hi guys,

 

I was playind around with ACLs on a test cluster and set them recursively on /user to others::r-- instead of others::r-x. Then I wanted to change it back on /user/hive/warehouse but no matter what I do I cannot change them:

 

hdfs dfs -getfacl /user/hive/warehouse
# file: /user/hive/warehouse
# owner: hive
# group: hive
user::rwx
user:hive:rwx
group::---
group:hive:rwx
mask::rwx
other::--x

 

hdfs dfs -setfacl -m group::rwx /user/hive/warehouse

 

hdfs dfs -getfacl /user/hive/warehouse
# file: /user/hive/warehouse
# owner: hive
# group: hive
user::rwx
user:hive:rwx
group::---
group:hive:rwx
mask::rwx
other::--x

 

It always remains the same, I cannot change anything at all... Any ideas?

Posts: 1,524
Kudos: 265
Solutions: 232
Registered: ‎07-31-2013

Re: Cannot change HDFS ACLs

Take a look at some of the reasons for such a behaviour, noted in this thread: http://community.cloudera.com/t5/Storage-Random-Access-HDFS/HDFS-Cannot-change-permissions-of-a-sing...?
Backline Customer Operations Engineer
Explorer
Posts: 9
Registered: ‎12-13-2016

Re: Cannot change HDFS ACLs

Thanks! I've totally forgotten about the existence of Sentry :/

Announcements