From f97e9323b526b3d0b0fee0ca03f4276f37bb5750 Mon Sep 17 00:00:00 2001 From: jerryshao Date: Mon, 12 Oct 2015 18:17:28 -0700 Subject: [SPARK-10739] [YARN] Add application attempt window for Spark on Yarn Add application attempt window for Spark on Yarn to ignore old out of window failures, this is useful for long running applications to recover from failures. Author: jerryshao Closes #8857 from jerryshao/SPARK-10739 and squashes the following commits: 36eabdc [jerryshao] change the doc 7f9b77d [jerryshao] Style change 1c9afd0 [jerryshao] Address the comments caca695 [jerryshao] Add application attempt window for Spark on Yarn --- docs/running-on-yarn.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md index 6d77db6a32..677c000044 100644 --- a/docs/running-on-yarn.md +++ b/docs/running-on-yarn.md @@ -305,6 +305,15 @@ If you need a reference to the proper location to put log files in the YARN so t It should be no larger than the global number of max attempts in the YARN configuration. + + spark.yarn.am.attemptFailuresValidityInterval + (none) + + Defines the validity interval for AM failure tracking. + If the AM has been running for at least the defined interval, the AM failure count will be reset. + This feature is not enabled if not configured, and only supported in Hadoop 2.6+. + + spark.yarn.submit.waitAppCompletion true -- cgit v1.2.3