GitHub user ifilonenko opened a pull request:
https://github.com/apache/spark/pull/22704
[SPARK-25681][K8S][WIP] Leverage a config to tune renewal time retrieval
## What changes were proposed in this pull request?
Changes to core allow for a K8S to pass a SparkConf specifying whether the
`obtainDelegationTokens()` logic fetches `renewalInterval` (as in some uses
cases where the DT renewal may be external to Spark i.e. K8s Cluster Mode) and
whether this renewal interval calculation is done by retrieving a second DT, as
YARN does.
## How was this patch tested?
- [ ] Unit Tests
- [ ] Integration Tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ifilonenko/spark SPARK-25681
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22704.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 #22704
----
commit cba8abbaadb44ff064d348324da7922e514b9387
Author: Ilan Filonenko <ifilondz@...>
Date: 2018-10-11T22:26:39Z
first WIP commit
commit 6e807e169cc9113c5fcd1653e610ec473c1ff8e8
Author: Ilan Filonenko <ifilondz@...>
Date: 2018-10-11T22:30:06Z
modified sentence
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]