Github user yolandagao commented on the pull request:
https://github.com/apache/spark/pull/9272#issuecomment-152904592
@yhuai Hi Yin, SPARK-11265 is a different issue - in yarn Client.scala
code, hive metastore token is obtained when kerberos is enabled to set up AM
container launch context, during which Hive and HiveConf instantiation failed
due to a new change in Hive 1.2.1.
YarnSparkHadoopUtil.get.obtainTokensForNamenodes(nns, hadoopConf,
credentials)
obtainTokenForHiveMetastore(hadoopConf, credentials)
obtainTokenForHBase(hadoopConf, credentials)
....
setupSecurityToken(amContainer)
UserGroupInformation.getCurrentUser().addCredentials(credentials)
SPARK-11265 fix will not solve the problem here. In yarn-client mode, Hive
client with IsolatedClientLoader has no access to these delegation tokens and
kerberos tickets (set up via UGI.loginUserFromKeytab in SparkSubmit), as it has
a pure new UserGroupInformation class loaded.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]