[ https://issues.apache.org/jira/browse/HADOOP-14080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803040#comment-17803040 ]
Shilun Fan commented on HADOOP-14080: ------------------------------------- Bulk update: moved all 3.4.0 non-blocker issues, please move back if it is a blocker. Retarget 3.5.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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org