Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 81640 invoked from network); 24 Sep 2010 22:42:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Sep 2010 22:42:55 -0000 Received: (qmail 10082 invoked by uid 500); 24 Sep 2010 22:42:55 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 10016 invoked by uid 500); 24 Sep 2010 22:42:54 -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 10008 invoked by uid 99); 24 Sep 2010 22:42:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 22:42:54 +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; Fri, 24 Sep 2010 22:42:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8OMgXpA003479 for ; Fri, 24 Sep 2010 22:42:33 GMT Message-ID: <12206507.393491285368153748.JavaMail.jira@thor> Date: Fri, 24 Sep 2010 18:42:33 -0400 (EDT) From: "Suresh Srinivas (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 [ https://issues.apache.org/jira/browse/HADOOP-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914689#action_12914689 ] Suresh Srinivas commented on HADOOP-6951: ----------------------------------------- This code in common breaks HDFS. Currently HDFS trunk does not compile! HDFS-1422 has been files for this. Please close it, if it is not necessary. > 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.