Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 70696 invoked from network); 31 Jan 2008 22:55:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2008 22:55:33 -0000 Received: (qmail 30906 invoked by uid 500); 31 Jan 2008 22:55:23 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 30703 invoked by uid 500); 31 Jan 2008 22:55:23 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 30690 invoked by uid 99); 31 Jan 2008 22:55:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 14:55:23 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 22:55:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E523A71403C for ; Thu, 31 Jan 2008 14:55:07 -0800 (PST) Message-ID: <1533335.1201820107925.JavaMail.jira@brutus> Date: Thu, 31 Jan 2008 14:55:07 -0800 (PST) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Assigned: (HADOOP-2683) Provide a way to specifiy login out side an RPC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE reassigned HADOOP-2683: ---------------------------------------------- Assignee: Tsz Wo (Nicholas), SZE (was: Raghu Angadi) > Provide a way to specifiy login out side an RPC > ----------------------------------------------- > > Key: HADOOP-2683 > URL: https://issues.apache.org/jira/browse/HADOOP-2683 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.0 > Reporter: Raghu Angadi > Assignee: Tsz Wo (Nicholas), SZE > Priority: Blocker > Fix For: 0.16.1 > > > Requirements AFIK : > It is required in some special cases (benchmarks etc) to invoke NameNode functionality without an RPC. For this users should be able to set user information that is otherwise available only an RPC. > Patch for HADOOP-1298 includes a change to Server.java so that {{Server.getUserInfo()}} does not need to in an RPC. This probably will be replaced by patch here. > Please include any other Jira's that depend on this. > Proposed fix: > - UserGroupInformation becomes an abstract class > - public static UserGroupInformation.getUserInfo() is added. which usually just returns Server.getUserInfo(); > - public static UserGroupInformation.setUserInfo(UserGroupInformation) sets a thread local that will returned if Server.getUserInfo() returns null. > - all invocations of Server.getUserInfo() will be replaced by UserGroupInformation.getUserInfo(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.