You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matt Massie (JIRA)" <ji...@apache.org> on 2015/06/18 22:32:00 UTC

[jira] [Created] (SPARK-8454) Update ShuffleBlockFetcherIterator.next to close previous stream when returning a new one

Matt Massie created SPARK-8454:
----------------------------------

             Summary: Update ShuffleBlockFetcherIterator.next to close previous stream when returning a new one
                 Key: SPARK-8454
                 URL: https://issues.apache.org/jira/browse/SPARK-8454
             Project: Spark
          Issue Type: Improvement
          Components: Block Manager
            Reporter: Matt Massie


For context, see the PR comments at https://github.com/apache/spark/pull/6423#discussion_r31370774

The current HashShuffleReader closes the input stream when all records have been read by using a NextIterator. However, we want the ShuffleBlockFetcherIterator to be more defensive about closing files and releasing memory to protect against other ShuffleReaders which may not.



--
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