[ 
https://issues.apache.org/jira/browse/HDFS-9794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143706#comment-15143706
 ] 

Jing Zhao commented on HDFS-9794:
---------------------------------

The fix is to move the {{closeThreads}} call into the finally section. Also, 
considering the streamer threads may be waiting for the new GS information, we 
should force the close.

> Streamer threads may leak if failure happens when closing the striped 
> outputstream
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-9794
>                 URL: https://issues.apache.org/jira/browse/HDFS-9794
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Namit Maheshwari
>            Assignee: Jing Zhao
>            Priority: Critical
>         Attachments: HDFS-9794.000.patch
>
>
> When closing the DFSStripedOutputStream, if failures happen while flushing 
> out the data/parity blocks, the streamer threads will not be closed.



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

Reply via email to