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

Andrei Savu updated HADOOP-10204:
---------------------------------

    Attachment: HADOOP-10204.patch

Attached a simple patch that overrides #close() as expected. 

> ThrottledInputStream should #close() the underlying stream 
> -----------------------------------------------------------
>
>                 Key: HADOOP-10204
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10204
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>         Environment: CDH 2.0.0-cdh4.5.0 
> (30821ec616ee7a21ee8447949b7c6208a8f1e7d8) 
>            Reporter: Andrei Savu
>         Attachments: HADOOP-10204.patch
>
>
> While working on HADOOP-10203 I've noticed that ThrottledInputStream (DistCP 
> V2) does not override #close(). This can also leak connection.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to