diff options
author | Kent Yao <yaooqinn@hotmail.com> | 2017-02-21 09:57:40 -0800 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2017-02-21 09:57:40 -0800 |
commit | 7363dde6348fd70d67a13bb4644baca7c77ac241 (patch) | |
tree | e31e5b2bdb9f6ceb185ddde86aba768cf0b0bde8 /sql | |
parent | 280afe0ef384433eae2076cda569c5f1b3e49d42 (diff) | |
download | spark-7363dde6348fd70d67a13bb4644baca7c77ac241.tar.gz spark-7363dde6348fd70d67a13bb4644baca7c77ac241.tar.bz2 spark-7363dde6348fd70d67a13bb4644baca7c77ac241.zip |
[SPARK-19626][YARN] Using the correct config to set credentials update time
## What changes were proposed in this pull request?
In https://github.com/apache/spark/pull/14065, we introduced a configurable credential manager for Spark running on YARN. Also two configs `spark.yarn.credentials.renewalTime` and `spark.yarn.credentials.updateTime` were added, one is for the credential renewer and the other updater. But now we just query `spark.yarn.credentials.renewalTime` by mistake during CREDENTIALS UPDATING, where should be actually `spark.yarn.credentials.updateTime` .
This PR fixes this mistake.
## How was this patch tested?
existing test
cc jerryshao vanzin
Author: Kent Yao <yaooqinn@hotmail.com>
Closes #16955 from yaooqinn/cred_update.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions