hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9852) UGI login user keytab and principal should not be static
Date Sat, 02 May 2015 04:51:10 GMT

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

Hadoop QA commented on HADOOP-9852:
-----------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply the patch during
dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12596875/HADOOP-9852.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / f1a152c |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/6350/console |


This message was automatically generated.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message