You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/08/08 18:57:48 UTC
[jira] [Updated] (HADOOP-9852) UGI login user keytab and principal
should not be static
[ https://issues.apache.org/jira/browse/HADOOP-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-9852:
--------------------------------
Attachment: HADOOP-9852.patch
# Track principal and keytab in the login conf
# Add login conf to the subject
# Reuse the subject's login conf for relogin
# Remove one more synch on the class...
> 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
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira