[jira] [Updated] (HDFS-9812) Streamer threads leak if failure happens when closing DFSOutputStream

2016-03-07 Thread Akira AJISAKA (JIRA)

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

Akira AJISAKA updated HDFS-9812:

Attachment: HDFS-9812-branch-2.7.patch
HDFS-9812.branch-2.patch

Attaching patches used for branch-2/2.8 and branch-2.7.

> Streamer threads leak if failure happens when closing DFSOutputStream
> -
>
> Key: HDFS-9812
> URL: https://issues.apache.org/jira/browse/HDFS-9812
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs-client
>Affects Versions: 2.7.1
>Reporter: Lin Yiqun
>Assignee: Lin Yiqun
> Fix For: 2.8.0, 2.7.3
>
> Attachments: HDFS-9812-branch-2.7.patch, HDFS-9812.002.patch, 
> HDFS-9812.003.patch, HDFS-9812.004.patch, HDFS-9812.branch-2.patch, 
> HDFS.001.patch
>
>
> In HDFS-9794, it has solved problem of that stream thread leak if failure 
> happens when closing the striped outputstream. And in {{DFSOutputStream}}, it 
> also exists the same problem in {{DFSOutputStream#closeImpl}}. If failures 
> happen when flushing data blocks, the streamer threads will also not be 
> closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-9812) Streamer threads leak if failure happens when closing DFSOutputStream

2016-03-07 Thread Akira AJISAKA (JIRA)

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

Akira AJISAKA updated HDFS-9812:

   Resolution: Fixed
Fix Version/s: 2.7.3
   2.8.0
   Status: Resolved  (was: Patch Available)

Committed this to branch-2.7 and above. Thanks [~linyiqun] for the contribution!

> Streamer threads leak if failure happens when closing DFSOutputStream
> -
>
> Key: HDFS-9812
> URL: https://issues.apache.org/jira/browse/HDFS-9812
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs-client
>Affects Versions: 2.7.1
>Reporter: Lin Yiqun
>Assignee: Lin Yiqun
> Fix For: 2.8.0, 2.7.3
>
> Attachments: HDFS-9812.002.patch, HDFS-9812.003.patch, 
> HDFS-9812.004.patch, HDFS.001.patch
>
>
> In HDFS-9794, it has solved problem of that stream thread leak if failure 
> happens when closing the striped outputstream. And in {{DFSOutputStream}}, it 
> also exists the same problem in {{DFSOutputStream#closeImpl}}. If failures 
> happen when flushing data blocks, the streamer threads will also not be 
> closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-9812) Streamer threads leak if failure happens when closing DFSOutputStream

2016-03-07 Thread Akira AJISAKA (JIRA)

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

Akira AJISAKA updated HDFS-9812:

Hadoop Flags: Reviewed
 Description: In HDFS-9794, it has solved problem of that stream thread 
leak if failure happens when closing the striped outputstream. And in 
{{DFSOutputStream}}, it also exists the same problem in 
{{DFSOutputStream#closeImpl}}. If failures happen when flushing data blocks, 
the streamer threads will also not be closed.  (was: In HDFS-9794, it has 
solved problem of that stream thread leak if failure happens when closing the 
striped outputstream. And in {{DfsOutpuStream}}, it also exists the same 
problem in {{DfsOutpuStream#closeImpl}}. If failures happen when flushing data 
blocks, the streamer threads will also not be closed.)
 Summary: Streamer threads leak if failure happens when closing 
DFSOutputStream  (was: Streamer threads leak if failure happens when closing 
the dfsoutputstream)

> Streamer threads leak if failure happens when closing DFSOutputStream
> -
>
> Key: HDFS-9812
> URL: https://issues.apache.org/jira/browse/HDFS-9812
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs-client
>Affects Versions: 2.7.1
>Reporter: Lin Yiqun
>Assignee: Lin Yiqun
> Attachments: HDFS-9812.002.patch, HDFS-9812.003.patch, 
> HDFS-9812.004.patch, HDFS.001.patch
>
>
> In HDFS-9794, it has solved problem of that stream thread leak if failure 
> happens when closing the striped outputstream. And in {{DFSOutputStream}}, it 
> also exists the same problem in {{DFSOutputStream#closeImpl}}. If failures 
> happen when flushing data blocks, the streamer threads will also not be 
> closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)