[
https://issues.apache.org/jira/browse/HADOOP-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910879#action_12910879
]
Konstantin Boudnik commented on HADOOP-6944:
--------------------------------------------
Ok, looks more sensible now. One question: if a gridmix in question has the
access to Herriot APIs (such as proposed one) then why the functionality in the
patch can't be implemented by the test? Please correct me if I'm wrong and
gridmix tests don't have an access to Herriot APIs aleady.
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.
Besides, writing a content to a file looks potentially thread unsafe.
> [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.