GitHub user advancedxy opened a pull request: https://github.com/apache/spark/pull/20178
[Spark-22952][CORE] Deprecate stageAttemptId in favour of stageAttemptNumber ## What changes were proposed in this pull request? 1. Deprecate attemptId in StageInfo and add `def attemptNumber() = attemptId` 2. Replace usage of stageAttemptId with stageAttemptNumber ## How was this patch tested? I manually checked the compiler warning info You can merge this pull request into a Git repository by running: $ git pull https://github.com/advancedxy/spark SPARK-22952 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20178.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20178 ---- commit 4b18ea4f109b0f8d865e3fff8f415d87db528fa5 Author: Xianjin YE <advancedxy@...> Date: 2018-01-07T15:17:16Z Deprecate attemptId and in favour of attemptNumber commit 2ec919761ced379f00e1fa9804a66e3b15e9d2e9 Author: Xianjin YE <advancedxy@...> Date: 2018-01-07T15:43:28Z Replace usage of stageAttemptId with stageAttemptNumber ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org