Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5031#discussion_r26702673
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
@@ -903,6 +908,30 @@ object Client extends Logging {
}
/**
+ * Obtains token for the Hive metastore and adds them to the credentials.
+ */
+ private def obtainTokenForHiveMetastore(conf: Configuration,
credentials: Credentials) {
+ if (UserGroupInformation.isSecurityEnabled /* And Hive is enabled */) {
--- End diff --
So, I think the `/* And Hive is enabled */` part is kinda important, and
not talking just about Hive being compiled in. What would happen if a user
doesn't have any Hive services running?
I'm also a little worried about precedent here... couldn't we make the same
argument for acquiring HBase tokens? Solr? Somthing else? Unfortunately, I
can't think of any alternative off the bat, given the way cluster mode works...
:-/
---
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]