[ 
https://issues.apache.org/jira/browse/SPARK-24449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-24449.
----------------------------------
    Resolution: Incomplete

> ApplicationMaster reporter thread failure counter is not effective
> ------------------------------------------------------------------
>
>                 Key: SPARK-24449
>                 URL: https://issues.apache.org/jira/browse/SPARK-24449
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Miklos Szurap
>            Priority: Major
>              Labels: bulk-closed
>
> The ApplicationMaster's 
> [failureCount|https://github.com/apache/spark/blob/master/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala#L522]
>  gets reset on every while loop. This makes reporterMaxFailures / 
> MAX_REPORTER_THREAD_FAILURES 
> ({{spark.yarn.scheduler.reporterThread.maxFailures)}} ineffective.
> The failureCount was intended to be used to fail the application if there 
> were [non-fatal 
> Throwables|https://www.scala-lang.org/api/current/scala/util/control/NonFatal$.html]
>  more than reporterMaxFailures ( 
> {{spark.yarn.scheduler.reporterThread.maxFailures}} ) times.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to