Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 691BDF24F for ; Mon, 22 Apr 2013 01:36:14 +0000 (UTC) Received: (qmail 741 invoked by uid 500); 22 Apr 2013 01:36:14 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 682 invoked by uid 500); 22 Apr 2013 01:36:14 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 672 invoked by uid 99); 22 Apr 2013 01:36:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 01:36:14 +0000 Date: Mon, 22 Apr 2013 01:36:14 +0000 (UTC) From: "Arun C Murthy (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-4737) Hadoop does not close output file / does not call Mapper.cleanup if exception in map 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/MAPREDUCE-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated MAPREDUCE-4737: ------------------------------------- Attachment: MAPREDUCE-4737.patch Updated patch to fix exception handling for old api too, in addition to [~daijy]'s fix. A unit test is pending. > Hadoop does not close output file / does not call Mapper.cleanup if exception in map > ------------------------------------------------------------------------------------- > > Key: MAPREDUCE-4737 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4737 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 1-win > Reporter: Daniel Dai > Assignee: Daniel Dai > Attachments: HADOOP-23-2.patch, HADOOP-8904-1.patch, MAPREDUCE-4737.patch > > > Find this in Pig unit test TestStore under Windows. There are dangling files because map does not close the file when exception happens in map(). In Windows, Hadoop will not remove a file if it is not closed. This happens in reduce() as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira