hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14080) UserGroupInformation#loginUserFromKeytab does not load hadoop tokens ?
Date Wed, 14 Feb 2018 03:30:00 GMT

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

Wangda Tan updated HADOOP-14080:
--------------------------------
    Target Version/s: 3.2.0  (was: 3.1.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
(v7.6.3#76005)

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