How to set extended ACL’s
1 |
hdfs dfs -setfacl -R -m default:user:hive:rwx /data/report_data |
Check extended ACL’s
1 |
hadoop fs -getfacl /data/report_data |
Set the mask to get the full default inherent access
1 |
hadoop fs -setfacl [-R] -m mask::rwx /data/report_data |
Reference
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html
Leave a Reply