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

Executor OOM due to unbounded growth of pointer array in Sorter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2, 2.0.0
    • Shuffle, Spark Core
    • None

    Description

      While running a job we saw that the executors are OOMing because in UnsafeExternalSorter's growPointerArrayIfNecessary function, we are just growing the pointer array indefinitely.

      https://github.com/apache/spark/blob/master/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java#L292

      This is a regression introduced in PR- https://github.com/apache/spark/pull/11095

      Attachments

        Activity

          People

            sitalkedia@gmail.com Sital Kedia
            sitalkedia@gmail.com Sital Kedia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: