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

Rakesh R commented on HDFS-8183:
--------------------------------

Thank you [~zhz] for the review comments. Attached another patch, I've modified 
error message by adding thread name, index position and file name. Since 
{{DFSStripedOutputStream#streamers}} array list is private, I couldn't find a 
nice way to cover the exceptional case.

> Erasure Coding: Improve DFSStripedOutputStream closing of datastreamer threads
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-8183
>                 URL: https://issues.apache.org/jira/browse/HDFS-8183
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: HDFS-8183-001.patch, HDFS-8183-002.patch
>
>
> The idea of this task is to improve closing of all the streamers. Presently 
> if any of the streamer throws an exception, it will returning immediately. 
> This leaves all the other streamer threads running. Instead its good to 
> handle the exceptions of each streamer independently.



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

Reply via email to