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

UnsafeShuffleWriter leaks compression streams with off-heap memory.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Spark Core
    • None

    Description

      When merging spill files using Java file streams, UnsafeShuffleWriter opens a decompression stream for each shuffle part and never closes them. When the compression codec holds off-heap resources, these aren't cleaned up until the finalizer is called.

      Attachments

        Activity

          People

            rdblue Ryan Blue
            rdblue Ryan Blue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: