{"push_id":542489642,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"f3da4bd7289d493014ad3c5176ada60794dfcfe0","before":"167a5ab0bd1d37f3ac23bec49e484a238610cf75","commits":[{"sha":"f3da4bd7289d493014ad3c5176ada60794dfcfe0","author":{"email":"ba60166985ef87d02b3f95e141f5ecd3cb447aa2@aliyun.com","name":"WangTaoTheTonic"},"message":"[SPARK-5169][YARN]fetch the correct max attempts\n\nSoryy for fetching the wrong max attempts in this commit https://github.com/apache/spark/commit/8fdd48959c93b9cf809f03549e2ae6c4687d1fcd.\nWe need to fix it now.\n\ntgravescs\n\nIf we set an spark.yarn.maxAppAttempts which is larger than `yarn.resourcemanager.am.max-attempts` in yarn side, it will be overrided as described here:\n>The maximum number of application attempts. It's a global setting for all application masters. Each application master can specify its individual maximum number of application attempts via the API, but the individual number cannot be more than the global upper bound. If it is, the resourcemanager will override it. The default number is set to 2, to allow at least one retry for AM.\n\nhttp://hadoop.apache.org/docs/r2.6.0/hadoop-yarn/hadoop-yarn-common/yarn-default.xml\n\nAuthor: WangTaoTheTonic <barneystinson@aliyun.com>\n\nCloses #3942 from WangTaoTheTonic/HOTFIX and squashes the following commits:\n\n9ac16ce [WangTaoTheTonic] fetch the correct max attempts","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/f3da4bd7289d493014ad3c5176ada60794dfcfe0"}]}