From hdfs-dev-return-16184-apmail-hadoop-hdfs-dev-archive=hadoop.apache.org@hadoop.apache.org Wed Nov 5 18:56:39 2014 Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 329B8175E0 for ; Wed, 5 Nov 2014 18:56:39 +0000 (UTC) Received: (qmail 88082 invoked by uid 500); 5 Nov 2014 18:56:38 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 87970 invoked by uid 500); 5 Nov 2014 18:56:38 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 87754 invoked by uid 99); 5 Nov 2014 18:56:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 18:56:38 +0000 Date: Wed, 5 Nov 2014 18:56:37 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-7199) DFSOutputStream should not silently drop data if DataStreamer crashes with an unchecked exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe resolved HDFS-7199. ---------------------------------------- Resolution: Fixed Fix Version/s: (was: 2.7.0) 2.6.0 Committed to 2.6 > 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)