You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jian He (JIRA)" <ji...@apache.org> on 2017/02/14 01:50:42 UTC

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

Jian He created HADOOP-14080:
--------------------------------

             Summary: 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. 






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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