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 "Akira Ajisaka (Jira)" <ji...@apache.org> on 2020/03/24 11:09:00 UTC

[jira] [Updated] (HADOOP-14080) UserGroupInformation#loginUserFromKeytab does not load hadoop tokens ?

     [ https://issues.apache.org/jira/browse/HADOOP-14080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira Ajisaka updated HADOOP-14080:
-----------------------------------
    Target Version/s: 3.4.0  (was: 3.3.0)

Moved to 3.4.0 given the lack of activity, please revert if we really need this in 3.3.0.

> UserGroupInformation#loginUserFromKeytab does not load hadoop tokens ? 
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-14080
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14080
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jian He
>            Priority: Critical
>
> Found that UserGroupInformation#loginUserFromKeytab will not try to load hadoop tokens from HADOOP_TOKEN_FILE_LOCATION as loginUserFromSubject method does.  I know typically, if you have the keytab, you probably won't need the token, but  is this an expected behavior ?
> The problem with this is that suppose a long running app on YARN has its own keytabs, it does login via UserGroupInformation#loginUserFromKeytab, however, it will not load the hadoop tokens passed by YARN and YARN requires the token to be present for communication e.g. AM - RM communication. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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