GitHub user steveloughran opened a pull request:
https://github.com/apache/spark/pull/11033
[SPARK-13148] [YARN] [WIP] zero-keytab Oozie application launch
This patch looks for the env var `HADOOP_TOKEN_FILE_LOCATION`, and if set
skips trying to collect new delegation tokens. Instead it relies on the
environment (i.e. oozie) passing them down...it does list them all to identify
when the oozie configuration forgets something.
It's tagged as a WiP as I haven't tested it yet; I'm currently (elsewhere)
writing a bit of code to collect HDFS and RM tokens and save them to a file,
ready to set up the env var. I could add this code into spark, where it would
be able to use the HBase and Hive reflection logic to add these. This would
just be for testing, to isolate Spark operation from Oozie.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/steveloughran/spark
stevel/feature/SPARK-13148-oozie
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11033.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11033
----
commit d7662b5c7b36b74a990366bee2489888353a6183
Author: Steve Loughran <[email protected]>
Date: 2016-02-02T22:12:27Z
[SPARK-13148] support zero-keytab Oozie application launch on a secure
cluster
----
---
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]