You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Jerry Chen (JIRA)" <ji...@apache.org> on 2013/01/24 06:53:13 UTC

[jira] [Created] (MAPREDUCE-4958) close method of RawKeyValueIterator is not called after after finish using.

Jerry Chen created MAPREDUCE-4958:
-------------------------------------

             Summary: close method of RawKeyValueIterator is not called after after finish using.
                 Key: MAPREDUCE-4958
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4958
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv1
    Affects Versions: trunk
            Reporter: Jerry Chen


I observed that the close method of the RawKeyValueIterator returned from MergeManager is not called.

Which will cause resource leaks for RawKeyValueIterator implementation which depends on the RawKeyValueIterator.close for doing cleanup when finished.

Some other places in MapTask also not follow the convension to call RawKeyValueIterator.close after use it. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira