Created 07-18-2016 02:56 PM
Hi,
Would it be possible to provide hdfs privileges for users defined on the cluster? For example, my-env-hdfs is a user we have on our cluster. Can I grant hdfs user level privileges to this user? If possible, how to do it?
Likewise, how about other services like yarn, hive, ambari-qa etc?
Thanks
Created 07-18-2016 04:24 PM
Here is a detailed answer to your question:
https://martin.atlassian.net/wiki/pages/viewpage.action?pageId=27885570
You can grant hdfs user level privileges which is a superuser group to other groups.
In short if you change this parameter (Under HDFS config):
dfs.permissions.supergroup = mygroup
And add any user to this mygroup it should have the superuser privileges.
Also refer this:
But in my opinion superuser account should be very limited if not one.
Thanks
Created 07-18-2016 04:24 PM
Here is a detailed answer to your question:
https://martin.atlassian.net/wiki/pages/viewpage.action?pageId=27885570
You can grant hdfs user level privileges which is a superuser group to other groups.
In short if you change this parameter (Under HDFS config):
dfs.permissions.supergroup = mygroup
And add any user to this mygroup it should have the superuser privileges.
Also refer this:
But in my opinion superuser account should be very limited if not one.
Thanks
Created 07-19-2016 10:59 AM
Thanks @rbiswas
Any idea how does it work for other services like hive, yarn, hbase etc?