1.

What is the use of getfacl Command in HDFS ?

Answer»

It dsplays the Access Control LISTS (ACLS) of files and directories. If a directory has a DEFAULT ACL, then getfacl ALSO displays the default ACL.

ubuntu@ubuntu-VirtualBox:~$ hdfs dfs -getfacl /hadoop
  • file: /hadoop
  • owner: ubuntu
  • group: supergroup


Discussion

No Comment Found

Related InterviewSolutions