Reply
Highlighted
Explorer
Posts: 12
Registered: ‎08-04-2017

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

Cloudera Employee
Posts: 38
Registered: ‎08-16-2018

Re: hadoop command getfacl

Hi @RajeshMadurai 

 

Please try the below command

Command: hdfs dfs -getfacl -R /

 

Thanks

Explorer
Posts: 12
Registered: ‎08-04-2017

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?

 

Cloudera Employee
Posts: 38
Registered: ‎08-16-2018

Re: hadoop command getfacl

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

hdfs dfs -getfacl -R /user