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