diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2016-06-15 09:09:21 -0500 |
---|---|---|
committer | Tom Graves <tgraves@yahoo-inc.com> | 2016-06-15 09:09:21 -0500 |
commit | 40eeef95256b0740d759d921f0385023f0b91666 (patch) | |
tree | 77b5983ab30e9a8c0ab2675cfe48341d686c7fbc /yarn/src/main/scala/org/apache | |
parent | 0ee9fd9e528206a5edfb2cc4a56538250b428aaf (diff) | |
download | spark-40eeef95256b0740d759d921f0385023f0b91666.tar.gz spark-40eeef95256b0740d759d921f0385023f0b91666.tar.bz2 spark-40eeef95256b0740d759d921f0385023f0b91666.zip |
[SPARK-15046][YARN] Parse value of token renewal interval correctly.
Use the config variable definition both to set and parse the value,
avoiding issues with code expecting the value in a different format.
Tested by running spark-submit with --principal / --keytab.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #13669 from vanzin/SPARK-15046.
Diffstat (limited to 'yarn/src/main/scala/org/apache')
-rw-r--r-- | yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala index c4dd3202f0..ad2412e025 100644 --- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala +++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala @@ -243,11 +243,6 @@ package object config { .toSequence .createWithDefault(Nil) - private[spark] val TOKEN_RENEWAL_INTERVAL = ConfigBuilder("spark.yarn.token.renewal.interval") - .internal() - .timeConf(TimeUnit.MILLISECONDS) - .createOptional - /* Private configs. */ private[spark] val CREDENTIALS_FILE_PATH = ConfigBuilder("spark.yarn.credentials.file") |