Day: February 10, 2023

Controlling Access using ACLs – Enable ACLs on Cluster

ACLs stands for Access Control Lists and it gives finer level access control over files. Without ACLs permissions are controlled at owner, group and others levels only. To use ACLs in HDFS, we need to set dfs.namenode.acls.enabled to true as part of hdfs-site.xml. We can use hadoop fs -setfacl to set ACL at file or directory …

Controlling Access using ACLs – Enable ACLs on Cluster Read More »

Managing files and file permissions – Copying files Local file system and HDFS

We can copy files from local file system and vice versa. We can append data into existing files in HDFS. hadoop fs -copyFromLocal or hadoop fs -put – to copy files from local filesystem and HDFS. Process of copying data is already covered. File will be divided into blocks and will be stored on Datanodes …

Managing files and file permissions – Copying files Local file system and HDFS Read More »