You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/03/20 00:54:27 UTC

[jira] Updated: (HADOOP-6593) TextRecordInputStream doesn't close SequenceFile.Reader

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

Tom White updated HADOOP-6593:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
         Assignee: Chase Bradford
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

+1 I've just committed this. Thanks Chase!

> TextRecordInputStream doesn't close SequenceFile.Reader
> -------------------------------------------------------
>
>                 Key: HADOOP-6593
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6593
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.20.1
>            Reporter: Chase Bradford
>            Assignee: Chase Bradford
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6593.patch
>
>
> Using hadoop fs -text on a glob with many sequence files can fail with too many open file handles.
> The cause seems to be that TextRecordInputStream doesn't override close(), so printToStdout's call to close doesn't release the SequenceFile.Reader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.