hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pratik Gadiya <pratik_gad...@persistent.com>
Subject Access on HDFS
Date Fri, 08 May 2015 14:46:02 GMT
Hi All,

I want to add a user who can create/remove and perform all the operations on hdfs.

Here is what I tried:

1.       Create user: adduser admin

2.       /usr/sbin/usermod -a -G hdfs admin

And when I try to create a directory on hdfs under "/" it raises error as follows,
[root@vmkdev0021 ~]# id admin
uid=500(admin) gid=500(admin) groups=500(admin),498(hdfs)

[root@vmkdev0021 ~]# su admin
[admin@vmkdev0021 root]$ hadoop  fs -mkdir /input
mkdir: Permission denied: user=admin, access=WRITE, inode="/":hdfs:hdfs:drwxr-xr-x

Please let me know how can I overcome this, this is reallly bugging me.

With Regards,
Pratik Gadiya

This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

View raw message