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

SortShuffleWriter writes inconsistent data & index files on stage retry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.5.3, 1.6.0
    • Shuffle, Spark Core
    • None

    Description

      When a stage is retried, even if a shuffle map task was successful, it may get retried in any case. If it happens to get scheduled on the same executor, the old data file is appended, while the index file still assumes the data starts in position 0. This leads to an apparently corrupt shuffle map output, since when the data file is read, the index file points to the wrong location.

      Attachments

        Issue Links

          Activity

            People

              davies Davies Liu
              irashid Imran Rashid
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: