hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6951) Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies
Date Wed, 15 Sep 2010 20:27:33 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909873#action_12909873
] 

Todd Lipcon commented on HADOOP-6951:
-------------------------------------

Looks pretty good. One small thing - rather than making serviceAuthorizationManager public
in Server, can you add a public getter marked only used for tests?

> 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.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.


Mime
View raw message