Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22897

Expose stageAttemptId in TaskContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.2, 2.2.1
    • 2.1.3, 2.2.2, 2.3.0
    • Spark Core
    • None

    Description

      Currently, there's no easy way for Executor to detect a new stage is launched as stageAttemptId is missing.

      I'd like to propose exposing stageAttemptId in TaskContext, and will send a pr if community thinks it's a good thing.

      cc cloud_fan

      Attachments

        Activity

          People

            advancedxy YE
            advancedxy YE
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: