Created 01-29-2016 06:33 PM
How to restrict access to Name node logs for a particular users/groups?
Created 01-29-2016 08:29 PM
Hi @AR, the '/logs' servlet is admin-only. There is no way to expose it to non-privileged users.
HDFS administrators are configured via dfs.cluster.administrators, although you obviously don't want to add arbitrary users to this list just to get logs servlet access.
Created 01-29-2016 06:35 PM
@AR That will based on your POSIX access level. Chmod and Chown
Make sure users are not part of hdfs/hadoop group.
Don't let users login to Master nodes. Restrict access to edge nodes only
Created 01-29-2016 07:34 PM
@Neeraj Sabharwal Thank you for your response. But what if we need to allow users to view the logs (read only) through Ambari only not even edge node access.
just this url access
Created 01-29-2016 07:39 PM
Created 01-29-2016 07:41 PM
See this
Hint : it may not be exact solution
http://hortonworks.com/blog/hadoop-groupmapping-ldap-integration/
Created 01-29-2016 08:29 PM
Hi @AR, the '/logs' servlet is admin-only. There is no way to expose it to non-privileged users.
HDFS administrators are configured via dfs.cluster.administrators, although you obviously don't want to add arbitrary users to this list just to get logs servlet access.