DevTech101

DevTech101

How to set extended ACL’s

hdfs dfs -setfacl -R -m default:user:hive:rwx /data/report_data

Check extended ACL’s

hadoop fs -getfacl /data/report_data

Set the mask to get the full default inherent access

hadoop fs -setfacl [-R] -m mask::rwx /data/report_data

Reference
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: