Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hadoop command getfacl

hadoop command getfacl

hadoop command getfacal to get output for all sub directories of root location.

EG: hdfs dfs -getfacl /

or

hdfs dfs -getfacl /user

3 REPLIES 3

Re: hadoop command getfacl

Cloudera Employee

Hi @RajeshMadurai 

 

Please try the below command

Command: hdfs dfs -getfacl -R /

 

Thanks

Re: hadoop command getfacl

hdfs dfs -getfacl -R /

Will display all the sub-directories and files.

 

Particular i need to check the /user directory alone.

Eg); hdfs dfs -getfacl /user

/user/aaa

/user/bbb

/user/ccc

/user/ddd

 

For checking individual above four directories it possible any other way?

 

Highlighted

Re: hadoop command getfacl

Cloudera Employee
Did you get a chance to try the below command once?

hdfs dfs -getfacl -R /user