Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 7388 invoked from network); 28 Sep 2010 18:22:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 18:22:58 -0000 Received: (qmail 48030 invoked by uid 500); 28 Sep 2010 18:22:58 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 47999 invoked by uid 500); 28 Sep 2010 18:22:58 -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 47987 invoked by uid 99); 28 Sep 2010 18:22:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 18:22:58 +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; Tue, 28 Sep 2010 18:22:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8SIMXfs001451 for ; Tue, 28 Sep 2010 18:22:34 GMT Message-ID: <8191049.447871285698153955.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 14:22:33 -0400 (EDT) From: "Aaron T. Myers (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6951) Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies In-Reply-To: <3990308.158511284404253537.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915864#action_12915864 ] Aaron T. Myers commented on HADOOP-6951: ---------------------------------------- Hi Tom, I've now run test-core and test-patch on both HDFS-1399 and MAPREDUCE-2067. Would you mind taking another look at this? Thanks a lot, Aaron > Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies > -------------------------------------------------------------------------------------- > > Key: HADOOP-6951 > URL: https://issues.apache.org/jira/browse/HADOOP-6951 > Project: Hadoop Common > Issue Type: Bug > Components: security > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Fix For: 0.22.0 > > Attachments: hadoop-6951.1.txt, hadoop-6951.2.txt, hadoop-6951.txt.0 > > > Because the protocol -> ACL mapping in ServiceAuthorizationManager is static, services which are run in the same JVM have the potential to clobber the other's service authorization ACLs whenever ServiceAuthorizationManager.refresh() is called. This causes authorization failures if one tries to launch a 2NN connected to a minicluster with hadoop.security.authorization enabled. Seems like each service should have its own instance of a ServiceAuthorizationManager, instead of using static methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.