Github user steveloughran commented on the pull request:
https://github.com/apache/spark/pull/9232#issuecomment-150579863
-just pushed up a version with @dougb's suggestion; the check for cluster
mode is made before trying to obtain either hive or hbase tokens.
Note that the HBase token acquisition is very similar to the hive one, and
could also be factored out, including sharing the same exception-handling
function as the hive one. And again, testable, though that would need Hbase on
the test classpath.
---
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]