Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 58658 invoked from network); 23 Dec 2008 18:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2008 18:17:26 -0000 Received: (qmail 94989 invoked by uid 500); 23 Dec 2008 18:17:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 94958 invoked by uid 500); 23 Dec 2008 18:17:19 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 94947 invoked by uid 99); 23 Dec 2008 18:17:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 10:17:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 18:17:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51945234C465 for ; Tue, 23 Dec 2008 10:16:44 -0800 (PST) Message-ID: <1139073228.1230056204333.JavaMail.jira@brutus> Date: Tue, 23 Dec 2008 10:16:44 -0800 (PST) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4927) Part files on the output filesystem are created irrespective of whether the corresponding task has anything to write there In-Reply-To: <1373445464.1229925644193.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-4927: ------------------------------------------- Component/s: mapred Issue Type: Bug (was: New Feature) > I believe some users did mention that the feature of having exactly N output files is useful. I also believe it is useful in some cases, especially when all output files are empty (ah, you may argue that the entire job is not useful in this case :) ). However, it is costly to maintain empty files in HDFS and I believe it is USELESS in many cases. Could we have an option for not creating them or cleaning them? > Part files on the output filesystem are created irrespective of whether the corresponding task has anything to write there > -------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-4927 > URL: https://issues.apache.org/jira/browse/HADOOP-4927 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Devaraj Das > Fix For: 0.20.0 > > > When OutputFormat.getRecordWriter is invoked, a part file is created on the output filesystem. But the created RecordWriter is not used until the OutputCollector.collect call is made by the task (user's code). This results in empty part files even if the OutputCollector.collect is never invoked by the corresponding tasks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.