[ 
https://issues.apache.org/jira/browse/HADOOP-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912346#action_12912346
 ] 

Vinay Kumar Thota commented on HADOOP-6944:
-------------------------------------------

The getProxyUsersFile() method is using  in the test. Gridmix should require a 
proxy users file whenever it tries to impersonate girdmix jobs with different 
user. I am using the method in the test for one the tests. 

bq. It seems to me that you want to create new functionality that is required 
by just certain types of tests only, which doesn't look right to me.

I agreed your point. However, initially I thought of implementing this 
functionality in gridmix utilities. But I felt that, if  I implement under 
common space, it would be useful for other components also if they require in 
future. If you are not ok to keep it in common space, let me know. So that I 
will move this functionality under gridmix utilities.

> [Herriot] Implement a functionality for building proxy users file and proxy 
> users list.
> ---------------------------------------------------------------------------------------
>
>                 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, HADOOP-6944.patch
>
>
> Gridmix should require a proxy user's file for impersonating various jobs. 
> So, implement couple of methods for getting the proxy users list and a proxy 
> users file (it's a combination of proxy users and groups) based on cluster 
> configuration.
> The proxy users list should require for map reduce jobs and proxy users file 
> should require for gridmix jobs.
> The following are methods signature,
> public String getProxyUsersFile() - getting the proxy users file based on 
> cluster configuration information.
> public String buildProxyUsersFile() - Build the proxy users file using the 
> cluster configuration.
> public ArraryList<String> getHadoopMultiUsersList() - get the list of proxy 
> users list based on cluster configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to