how to add user in supergroup of hdfs in linux? [closed]
Yes , now i have whole idea how users and group should be created on any hdfs cluster.First of all i didn't find any group named supergroup in /etc/group
.
So good practice is to create your own supergroup.
- sudo addgroup testgroup
- Then create users as many you want. e.g adduser sandy
- Then add these users to testgroup
- Then edit hdfs-site.xml property and add this property dfs.permissions.superusergroup, value will be your group name
- Now you can create any number of folders in hdfs and then assign ownership asyourusername:supergroup e.g sandy:testgroup