aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorjerryshao <sshao@hortonworks.com>2016-12-13 10:37:45 -0800
committerMarcelo Vanzin <vanzin@cloudera.com>2016-12-13 10:37:45 -0800
commit43298d157d58d5d03ffab818f8cdfc6eac783c55 (patch)
treeea54f0d1ce0defab1809ebd2ac9574a54aece6f2 /mllib
parent5572ccf86b084eb5938fe62fd5d9973ec14d555d (diff)
downloadspark-43298d157d58d5d03ffab818f8cdfc6eac783c55.tar.gz
spark-43298d157d58d5d03ffab818f8cdfc6eac783c55.tar.bz2
spark-43298d157d58d5d03ffab818f8cdfc6eac783c55.zip
[SPARK-18840][YARN] Avoid throw exception when getting token renewal interval in non HDFS security environment
## What changes were proposed in this pull request? Fix `java.util.NoSuchElementException` when running Spark in non-hdfs security environment. In the current code, we assume `HDFS_DELEGATION_KIND` token will be found in Credentials. But in some cloud environments, HDFS is not required, so we should avoid this exception. ## How was this patch tested? Manually verified in local environment. Author: jerryshao <sshao@hortonworks.com> Closes #16265 from jerryshao/SPARK-18840.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions