GitHub user tgravescs opened a pull request:

    https://github.com/apache/spark/pull/21609

    [SPARK-22897][CORE] Expose stageAttemptId in TaskContext

    stageAttemptId added in TaskContext and corresponding construction 
modification
    
    Added a new test in TaskContextSuite, two cases are tested:
    1. Normal case without failure
    2. Exception case with resubmitted stages
    
    Link to [SPARK-22897](https://issues.apache.org/jira/browse/SPARK-22897)
    
    Author: Xianjin YE <advance...@gmail.com>
    
    Closes #20082 from advancedxy/SPARK-22897.
    
    Conflicts:
        project/MimaExcludes.scala
    
    ## What changes were proposed in this pull request?
    
    (Please fill in changes proposed in this fix)
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tgravescs/spark SPARK-22897

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/21609.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 #21609
    
----
commit 4bc8d2805949b6b9d4d06ff4ad0493d9b33c7063
Author: Xianjin YE <advancedxy@...>
Date:   2018-01-02T15:30:38Z

    [SPARK-22897][CORE] Expose stageAttemptId in TaskContext
    
    stageAttemptId added in TaskContext and corresponding construction 
modification
    
    Added a new test in TaskContextSuite, two cases are tested:
    1. Normal case without failure
    2. Exception case with resubmitted stages
    
    Link to [SPARK-22897](https://issues.apache.org/jira/browse/SPARK-22897)
    
    Author: Xianjin YE <advance...@gmail.com>
    
    Closes #20082 from advancedxy/SPARK-22897.
    
    Conflicts:
        project/MimaExcludes.scala

----


---

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

Reply via email to