Cannot change permissions of a single folder on HDFS. Can change permissions of all the other folders no problem. Except this one folder. Current permissions are:
drwxrwx--x - app app 0 2017-03-28 14:29 /app/drops
None of these commands work to change the permission and nothing is printed, not even a permission denied is printed:
root@ss01nn01 # hdfs dfs -setfacl -m other::r-x /app/drops root@ss01nn01 # hdfs dfs -chmod 775 /app/drops
I've enabled more debugging in HDFS via Cloudera Manager, but still nothing.
hdfs fsck /
prints no issues. What else can we try to figure out the issue here and set the permissions?
I do not have Sentry enabled. At least I don't have that option under the Configuration menu.
I don't have "Enable Sentry Synchronization" enabled either.
And it is only one path on HDFS that is having these issues. No other path on HDFS is having this issue.
Thank you. Here is the result:
# hadoop fs -ls -d / drwxr-xr-x - hdfs supergroup 0 2017-03-15 11:45 / # hadoop fs -ls -d /app/ drwxrwxrwx - appacnt appacnt 0 2017-03-28 23:46 /app # hadoop fs -getfacl /app/drop # file: /app/drop # owner: appacnt # group: appacnt user::rwx group::rwx other::--x #
# grep -F authorization.provider -A1 $(ls -rtd /var/run/cloudera-scm-agent/process/*-NAMENODE | tail -1)/hdfs-site.xml <name>dfs.namenode.authorization.provider.class</name> <value>com.company.department.sf.hdfs.authz.provider.SfAuthzProvider</value> #
Permission of other will simply not change with any attempt. Tried to kinit to other users, including the owner of that folder, but that had no effect.