You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/07/07 16:39:11 UTC

[jira] [Assigned] (SPARK-16420) UnsafeShuffleWriter leaks compression streams with off-heap memory.

     [ https://issues.apache.org/jira/browse/SPARK-16420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-16420:
------------------------------------

    Assignee: Apache Spark

> UnsafeShuffleWriter leaks compression streams with off-heap memory.
> -------------------------------------------------------------------
>
>                 Key: SPARK-16420
>                 URL: https://issues.apache.org/jira/browse/SPARK-16420
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.0.0
>            Reporter: Ryan Blue
>            Assignee: Apache Spark
>
> When merging spill files using Java file streams, {{UnsafeShuffleWriter}} opens a decompression stream for each shuffle part and [never closes them|https://github.com/apache/spark/blob/master/core/src/main/java/org/apache/spark/shuffle/sort/UnsafeShuffleWriter.java#L352-357]. When the compression codec holds off-heap resources, these aren't cleaned up until the finalizer is called.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org