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

Steve Loughran commented on HADOOP-12754:
-----------------------------------------

While I'm at it, why does that code try and relogin as the current user 
*without checking to see if the caller is the current user?* Again, this is of 
limited use as all it could do is encounter KDC connectivity problems and 
needless delays.

HADOOP-6706 is the source of that code...I don't see any discussion of that 
topic there

> 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
>
> {{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)

Reply via email to