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

StageFailed event should attach the exception chain

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0, 3.5.1
    • None
    • Scheduler, Spark Core
    • None

    Description

      As part of SPARK-39195, task is marked as failed but the exception chain was not sent, ultimately the cause becomes `null` in SparkException. It is not convenient to find the root cause from the detailed message.

        /**
         * Called by the OutputCommitCoordinator to cancel stage due to data duplication may happen.
         */
        private[scheduler] def stageFailed(stageId: Int, reason: String): Unit = {
          eventProcessLoop.post(StageFailed(stageId, reason, None))
        }
      

      Attachments

        Issue Links

          Activity

            People

              panbingkun Pan Bingkun
              arjunsahoo28 Arjun Sahoo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: