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

Daryn Sharp updated HDFS-3334:
------------------------------

    Attachment: HDFS-3334-1.patch

Sure, I simplified it.  I had originally done it that way, but thought it would 
be better to not directly manipulate the underlying stream outside of the 
method intended to do the delegation.
                
> ByteRangeInputStream leaks streams
> ----------------------------------
>
>                 Key: HDFS-3334
>                 URL: https://issues.apache.org/jira/browse/HDFS-3334
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.24.0, 0.23.3, 2.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-3334-1.patch, HDFS-3334.patch
>
>
> {{HftpFileSystem.ByteRangeInputStream}} does not implement {{close}} so it 
> leaks the underlying stream(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to