Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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?