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

UnsafeShuffleWriter leaks compression streams with off-heap memory.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Spark Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: