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] [Commented] (HADOOP-12754) Client.handleSaslConnectionFailure() uses wrong user in exception text
Date Tue, 24 May 2016 15:30:13 GMT

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

Daryn Sharp commented on HADOOP-12754:
--------------------------------------

The current message is accidentally accurate as currently implemented, and patch doesn't change
anything.  {{handleSaslConnectionFailure}} is only called when the real user is the login
user.  So the current user is the real user is the login user.

> Client.handleSaslConnectionFailure() uses wrong user in exception text
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-12754
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12754
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ipc, security
>    Affects Versions: 2.7.2
>            Reporter: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-12754-001.patch
>
>
> {{Client.handleSaslConnectionFailure()}} includes the user in SASL failure messages,
but it calls {{UGI.getLoginUser()}} for its text. If there's an auth problem in a {{doAs()}}
context, this exception is fundamentally misleading



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message