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

Throw Spark specific exception for commit protocol errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.1.0
    • None
    • SQL
    • None

    Description

      In SPARK-29649, we catch `FileAlreadyExistsException` in `FileFormatWriter` and fail fast for the task set to prevent task retry.

      One concern for this approach is we might break some cases where users rely on task retry and their tasks throw `FileAlreadyExistsException` in user code, instead of Spark internally.

      To take care both cases, better approach is to throw a Spark specific exception for commit protocol errors.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: