diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-10-07 11:38:07 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-10-07 11:38:07 -0700 |
commit | 4b74755122d51edb1257d4f3785fb24508681068 (patch) | |
tree | 8ca59effbc85b02dd4225e1696ec5904cde5e141 /conf/slaves.template | |
parent | f5d154bc731aedfc2eecdb4ed6af8cac820511c9 (diff) | |
download | spark-4b74755122d51edb1257d4f3785fb24508681068.tar.gz spark-4b74755122d51edb1257d4f3785fb24508681068.tar.bz2 spark-4b74755122d51edb1257d4f3785fb24508681068.zip |
[SPARK-10812] [YARN] Fix shutdown of token renewer.
A recent change to fix the referenced bug caused this exception in
the `SparkContext.stop()` path:
org.apache.spark.SparkException: YarnSparkHadoopUtil is not available in non-YARN mode!
at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$.get(YarnSparkHadoopUtil.scala:167)
at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.stop(YarnClientSchedulerBackend.scala:182)
at org.apache.spark.scheduler.TaskSchedulerImpl.stop(TaskSchedulerImpl.scala:440)
at org.apache.spark.scheduler.DAGScheduler.stop(DAGScheduler.scala:1579)
at org.apache.spark.SparkContext$$anonfun$stop$7.apply$mcV$sp(SparkContext.scala:1730)
at org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1185)
at org.apache.spark.SparkContext.stop(SparkContext.scala:1729)
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #8996 from vanzin/SPARK-10812.
Diffstat (limited to 'conf/slaves.template')
0 files changed, 0 insertions, 0 deletions