- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HDFS ACL
Created on ‎07-06-2015 04:38 AM - edited ‎09-16-2022 02:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All ,
I am facing issue while enabling the acl, As per the CDH document for enabling the ACL we need to set acl enable to true.
<property>
<name>dfs.namenode.acls.enabled</name>
<value>true</value>
</property>
I have updated the same in below hdfs-site.xml files, post enabling the ACL, I restart the namenode service from CDH console.
/etc/hadoop/conf.cloudera.hdfs/hdfs-site.xml
/etc/hadoop/conf/hdfs-site.xml
While setting the ACL for a directory I am getting the below error.
" setfacl: The ACL operation has been rejected. Support for ACLs has been disabled by setting dfs.namenode.acls.enabled to false"
And please let me know in which hdfs-site.xml I should enable the acl in the below location I could see the hdfs-site.xml files.
/etc/hadoop/conf/hdfs-site.xml
/etc/hive/conf.cloudera.hive/hdfs-site.xml
/etc/hadoop/conf.cloudera.hdfs/hdfs-site.xml
/etc/hadoop/conf.cloudera.yarn/hdfs-site.xml
/var/run/cloudera-scm-agent/process/49-hdfs-NAMENODE/hdfs-site.xml
/var/run/cloudera-scm-agent/process/45-hdfs-SECONDARYNAMENODE/hdfs-site.xml
Please let know the appropriate file for enabling the ACL.
Thanks
Created ‎07-06-2015 05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- client side is in /etc/SERVICE/conf (SERVICE is hadoop, hive, etc)
- /var/run/cloudera-scm-agent/process/ID-service-ROLE
For service properties, edit it in CM and it will appear in /var/run on the
next restart of the role. Please read this blog post about how Cloudera
Manager works, it should be clearer to you.
http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/
Gautam Gopalakrishnan
Created ‎07-06-2015 05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- client side is in /etc/SERVICE/conf (SERVICE is hadoop, hive, etc)
- /var/run/cloudera-scm-agent/process/ID-service-ROLE
For service properties, edit it in CM and it will appear in /var/run on the
next restart of the role. Please read this blog post about how Cloudera
Manager works, it should be clearer to you.
http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/
Gautam Gopalakrishnan
Created ‎07-07-2015 06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gautham,
Thanks a lot,
Created ‎11-16-2015 11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I changed hdfs-site.xml under /etc/hadoop/ and restarted name-node. However, I don't see the acl-edit RPC are accepted.
hdfs@qa-node109:/root$ hdfs dfs -setfacl -m user:priv:rw- /testfile
setfacl: The ACL operation has been rejected. Support for ACLs has been disabled by setting dfs.namenode.acls.enabled to false.
What did I miss here?
Created ‎11-16-2015 11:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
