[
https://issues.apache.org/jira/browse/HADOOP-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907364#action_12907364
]
Konstantin Boudnik commented on HADOOP-6944:
--------------------------------------------
I have went over that concept of proxy users once more and I think I have some
issues with it.
Here they are:
- essentially the new proxyuser file doesn't have any new information to the
mix but is simply reformat whatever is already available in the
local-superuser-conf.xml or else
- because this reformatting is happening manually this is error prone
- besides it complicates Herriot configuration without any need for it
Instead of adding up more complexities I'd suggest to scrap the very notion of
proxyuser file and property and change the logic of the
public ArrayList<String> getHadoopMultiUsersList()
to extract that information from configuration object. If a cluster has
proxyusers configured then you'll have to have something like this
hadoop.proxyuser.sup_user.groups: users
hadoop.proxyuser.sup_user.hosts: host1.domain.com,host2.domain.com
in the daemons configurations.
It'd be easy to convert this information into the list you want/need.
> [Herriot] Implement a functionality for getting the poxyusers path.
> -------------------------------------------------------------------
>
> Key: HADOOP-6944
> URL: https://issues.apache.org/jira/browse/HADOOP-6944
> Project: Hadoop Common
> Issue Type: Task
> Components: test
> Reporter: Vinay Kumar Thota
> Assignee: Vinay Kumar Thota
> Attachments: HADOOP-6944.patch
>
>
> Gridmix should requires a proxy users file for impersonating jobs.
> So,Implement a method for getting the proxyusers file path in
> AbstractDaemonCluster.
> Method signature should be.
> public String getProxyUsersFilePath();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.