[
https://issues.apache.org/jira/browse/HDFS-9794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143844#comment-15143844
]
Mingliang Liu commented on HDFS-9794:
-------------------------------------
Thanks for working on this, [~jingzhao]. Determined closing stripe streamers
seems good to me.
I have a plain question: do we need to fix {{DFSOutputStream}} as well? My
concern is that, besides {{checkStreamerFailures()}}, {{flushInternal()}} for
flushing the last "close" empty packet may also throw exception.
{quote}
// may be thrown if more than 3 streamers fail, or updatePipeline RPC
{quote}
Minor nit: *3* is EC policy dependent. We may better use a generic term?
> 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, HDFS-9794.001.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)