03-28-2017 10:16 PM - edited 03-28-2017 10:22 PM
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?
03-28-2017 10:28 PM
03-28-2017 10:33 PM - edited 03-28-2017 10:40 PM
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.
03-29-2017 06:57 PM
03-30-2017 10:43 PM
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.
03-30-2017 11:01 PM