HDFS - User Group

Yarn Hortonworks


User group



  • List group of a user. The same than id -Gn userName on the local file system
hdfs groups userName
  • List group of all users. The fs.default.name property is only mandatory when using azure wasb
hdfs dfs -ls /user | tail -n +2 | awk '{print $8}' | while read -r userName; do
    hdfs groups  -D "fs.default.name=hdfs://namenode/" ${userName#/user/}


  • tail -n +2 suppress the first line
  • awk '{print 8}' print only the directory part


admin : admin users
admininformatica :
ambari-qa : hadoop users
ams : hadoop
hbase : hadoop
hcat : hadoop
hive : hadoop
livy : hadoop
oozie : hadoop users
root : root
spark : hadoop
sshuser : sshuser adm dialout cdrom floppy sudo audio dip video plugdev netdev lxd
zeppelin : zeppelin


See HDFS - Permissions (Authorization)

The default administrator group is hdfs.

hdfs getconf -confKey dfs.permissions.superusergroup

Discover More
Yarn Hortonworks
HDFS - Permissions (Authorization)

in HDFS A user authorization is defined through one of the below method: POSIX style permissions/HDFS ACLs or Apache Ranger Apache Knox (Authentication Services)...
Yarn Hortonworks
HDFS - User

User management in HDFS See: List group of a user See The default administrator user is hdfs. The default administrator group is hdfs.
Yarn Hortonworks
Hadoop Distributed File System (HDFS)

Hadoop Distributed File System (HDFS) Hadoop Distributed File System (HDFS) is a clustered file system. See for an architectural overview. * * * * * * * Amazon...

Share this page:
Follow us:
Task Runner