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 "Kai Zheng (JIRA)" <ji...@apache.org> on 2013/09/17 23:29:54 UTC

[jira] [Commented] (HADOOP-9975) Adding relogin() method to UGI

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

Kai Zheng commented on HADOOP-9975:
-----------------------------------

This was inspired by related discussion in HDFS-3676. Reference https://issues.apache.org/jira/browse/HDFS-3676?focusedCommentId=13417152&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13417152, Daryn mentioned:
bq. On an aside, it seems odd there isn't a UGI#relogin() that determines if it should use a keytab, ticket cache, etc... Not sure why all the callers that want to relogin should have knowledge of the login method.

                
> Adding relogin() method to UGI
> ------------------------------
>
>                 Key: HADOOP-9975
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9975
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>
> In current Hadoop UGI implementation, it has API methods like reloginFromKeytab() and reloginFromTicketCache().  However, such methods are too Kerberos specific and also involves login implementation details, it would be better to add generic relogin() method regardless authentication mechanism. This is possible since relevant authentication specific parameters like principal and keytab are already passed and saved in the UGI object after initial login.  

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