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

Jian He updated HADOOP-14080:
-----------------------------
    Description: 
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. 




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





> 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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to