[jira] [Updated] (HADOOP-10204) ThrottledInputStream should #close() the underlying stream

2014-01-06 Thread Andrei Savu (JIRA)

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

Andrei Savu updated HADOOP-10204:
-

  Resolution: Invalid
Release Note: It seems like this was fixed in trunk MAPREDUCE-5075 already. 
  Status: Resolved  (was: Patch Available)

 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
Assignee: Andrei Savu
Priority: Minor
 Attachments: HADOOP-10204-trunk.patch, 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)


[jira] [Updated] (HADOOP-10204) ThrottledInputStream should #close() the underlying stream

2014-01-04 Thread Steve Loughran (JIRA)

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

Steve Loughran updated HADOOP-10204:


Status: Patch Available  (was: Open)

 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
Assignee: Andrei Savu
 Attachments: HADOOP-10204-trunk.patch, 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)


[jira] [Updated] (HADOOP-10204) ThrottledInputStream should #close() the underlying stream

2014-01-04 Thread Steve Loughran (JIRA)

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

Steve Loughran updated HADOOP-10204:


Priority: Minor  (was: Major)

 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
Assignee: Andrei Savu
Priority: Minor
 Attachments: HADOOP-10204-trunk.patch, 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)


[jira] [Updated] (HADOOP-10204) ThrottledInputStream should #close() the underlying stream

2014-01-03 Thread Andrei Savu (JIRA)

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


[jira] [Updated] (HADOOP-10204) ThrottledInputStream should #close() the underlying stream

2014-01-03 Thread Andrei Savu (JIRA)

 [ 
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-trunk.patch

Attached an updated version for latest Hadoop trunk. 

 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
Assignee: Andrei Savu
 Attachments: HADOOP-10204-trunk.patch, 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)