hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-9852) UGI login user keytab and principal should not be static
Date Fri, 18 Aug 2017 17:49:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Daryn Sharp resolved HADOOP-9852.
    Resolution: Duplicate

Incorporated into parent jira.

> UGI login user keytab and principal should not be static
> --------------------------------------------------------
>                 Key: HADOOP-9852
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9852
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 2.0.0-alpha, 3.0.0-alpha1
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9852.patch
> The static keytab and principal for the login user is problematic.  The login conf explicitly
references these statics.  As a result, loginUserFromKeytabAndReturnUGI is unnecessarily synch'ed
on the class to swap out the login user's keytab and principal, login, then restore the keytab/principal.
 This method's synch blocks further de-synching of other methods.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message