You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Rushabh S Shah (JIRA)" <ji...@apache.org> on 2014/11/05 19:59:36 UTC
[jira] [Commented] (HDFS-7199) DFSOutputStream should not silently
drop data if DataStreamer crashes with an unchecked exception
[ https://issues.apache.org/jira/browse/HDFS-7199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198866#comment-14198866 ]
Rushabh S Shah commented on HDFS-7199:
--------------------------------------
Thanks [~cmccabe] for reviewing and committing the patch.
> DFSOutputStream should not silently drop data if DataStreamer crashes with an unchecked exception
> -------------------------------------------------------------------------------------------------
>
> Key: HDFS-7199
> URL: https://issues.apache.org/jira/browse/HDFS-7199
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.5.0
> Reporter: Jason Lowe
> Assignee: Rushabh S Shah
> Priority: Critical
> Fix For: 2.6.0
>
> Attachments: HDFS-7199-1.patch, HDFS-7199-WIP.patch, HDFS-7199.patch
>
>
> If the DataStreamer thread encounters a non-I/O exception then it closes the output stream but does not set lastException. When the client later calls close on the output stream then it will see the stream is already closed with lastException == null, mistakently think this is a redundant close call, and fail to report any error to the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)