Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 85252 invoked from network); 18 Sep 2010 00:53:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 00:53:56 -0000 Received: (qmail 42932 invoked by uid 500); 18 Sep 2010 00:53:55 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 42637 invoked by uid 500); 18 Sep 2010 00:53:55 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 42547 invoked by uid 99); 18 Sep 2010 00:53:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 00:53:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 00:53:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8I0rXRU022880 for ; Sat, 18 Sep 2010 00:53:34 GMT Message-ID: <31423245.264971284771213933.JavaMail.jira@thor> Date: Fri, 17 Sep 2010 20:53:33 -0400 (EDT) From: "Konstantin Boudnik (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6944) [Herriot] Implement a functionality for building proxy users file and proxy users list. In-Reply-To: <13358164.74161283948073125.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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.