Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 90936 invoked from network); 4 Jun 2009 21:15:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 21:15:06 -0000 Received: (qmail 31821 invoked by uid 500); 4 Jun 2009 21:15:14 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 31782 invoked by uid 500); 4 Jun 2009 21:15:14 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 31772 invoked by uid 99); 4 Jun 2009 21:15:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 21:15:14 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.6.16.226] (HELO smtp.nist.gov) (129.6.16.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 21:15:04 +0000 Received: from rogue.ncsl.nist.gov.nist.gov (rogue.ncsl.nist.gov [129.6.101.41]) by smtp.nist.gov (8.13.1/8.13.1) with ESMTP id n54LEb8p014790 for ; Thu, 4 Jun 2009 17:14:37 -0400 From: Ian Soboroff To: core-user@hadoop.apache.org Subject: Re: Task files in _temporary not getting promoted out References: <314098690906040838p2e5c9bcqae12d648b7a62940@mail.gmail.com> Date: Thu, 04 Jun 2009 17:14:36 -0400 In-Reply-To: <314098690906040838p2e5c9bcqae12d648b7a62940@mail.gmail.com> (jason hadoop's message of "Thu, 4 Jun 2009 08:38:09 -0700") Message-ID: <9cfljo7ya4j.fsf@rogue.ncsl.nist.gov> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NIST-MailScanner: Found to be clean X-NIST-MailScanner-From: ian.soboroff@nist.gov X-Virus-Checked: Checked by ClamAV on apache.org No, they were completing successfully. In the end, I got it to work by manually making a local path (via JobConf), and then moving the output to HDFS in close(). Ian jason hadoop writes: > Are your tasks failing or completing successfully. Failed tasks have the > output directory wiped, only successfully completed tasks have the files > moved up. > > I don't recall if the FileOutputCommitter class appeared in 0.18 > > > On Wed, Jun 3, 2009 at 6:43 PM, Ian Soboroff wrote: > >> Ok, help. I am trying to create local task outputs in my reduce job, and >> they get created, then go poof when the job's done. >> >> My first take was to use FileOutputFormat.getWorkOutputPath, and create >> directories in there for my outputs (which are Lucene indexes). >> Exasperated, I then wrote a small OutputFormat/RecordWriter pair to write >> the indexes. In each case, I can see directories being created in >> attempt_foo/_temporary, but when the task is over they're gone. >> >> I've stared at TextOutputFormat and I can't figure out why it's files >> survive and mine don't. Help! Again, this is 0.18.3. >> >> Thanks, >> Ian >> >>