Support Questions
Find answers, ask questions, and share your expertise

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

Cloudera Employee

Hi @RajeshMadurai 

 

Please try the below command

Command: hdfs dfs -getfacl -R /

 

Thanks

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?

 

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

hdfs dfs -getfacl -R /user
; ;