WangTaoTheTonic created SPARK-5170:
--------------------------------------

             Summary: fetch the correct max attempts
                 Key: SPARK-5170
                 URL: https://issues.apache.org/jira/browse/SPARK-5170
             Project: Spark
          Issue Type: Bug
          Components: YARN
            Reporter: WangTaoTheTonic


If we set an spark.yarn.maxAppAttempts which is larger than 
yarn.resourcemanager.am.max-attempts in yarn side, it will be overrided. So we 
should use both spark conf and yarn conf to get the correct retry number which 
is used to judge if it is the last attempt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to