Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74C764878 for ; Thu, 2 Jun 2011 11:03:47 +0000 (UTC) Received: (qmail 72745 invoked by uid 500); 2 Jun 2011 11:03:46 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 72697 invoked by uid 500); 2 Jun 2011 11:03:46 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 72689 invoked by uid 99); 2 Jun 2011 11:03:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 11:03:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joey@cloudera.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 11:03:37 +0000 Received: by vws7 with SMTP id 7so873687vws.35 for ; Thu, 02 Jun 2011 04:03:16 -0700 (PDT) Received: by 10.52.73.196 with SMTP id n4mr816359vdv.39.1307012596566; Thu, 02 Jun 2011 04:03:16 -0700 (PDT) Received: from [192.168.1.5] (pool-108-12-191-66.bltmmd.fios.verizon.net [108.12.191.66]) by mx.google.com with ESMTPS id q1sm134617vdt.47.2011.06.02.04.03.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Jun 2011 04:03:16 -0700 (PDT) Subject: Re: How discard reduce results in mapreduce? References: From: Joey Echeverria Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (8G4) In-Reply-To: Message-Id: Date: Thu, 2 Jun 2011 07:04:11 -0400 To: "mapreduce-user@hadoop.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPad Mail 8G4) X-Virus-Checked: Checked by ClamAV on apache.org Set your output format to the NullOutputFormat: job.setOutputFormat(NullOutputFormat.class); -Joey On Jun 2, 2011, at 6:21, Pedro Costa wrote: > What I meant in this question is put the processed result of the > reduce task in something like /dev/null. How can I do that? > > On Thu, Jun 2, 2011 at 11:07 AM, Pedro Costa wrote: >> Hi, >> >> I'm running an mapreduce example, and I want to run all the map reduce >> phases but I don't want to save in the disk the result of the reduce >> tasks. Is there a way to tell hadoop not to save the output of the >> reduce tasks? >> >> >> Thanks, >> > > > > --