You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Pedro Costa <ps...@gmail.com> on 2011/06/02 12:07:00 UTC

How discard reduce results in mapreduce?

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,

Re: How discard reduce results in mapreduce?

Posted by Joey Echeverria <jo...@cloudera.com>.
Set your output format to the NullOutputFormat:

job.setOutputFormat(NullOutputFormat.class);

-Joey


On Jun 2, 2011, at 6:21, Pedro Costa <ps...@gmail.com> 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 <ps...@gmail.com> 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,
>> 
> 
> 
> 
> --

Re: How discard reduce results in mapreduce?

Posted by Pedro Costa <ps...@gmail.com>.
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 <ps...@gmail.com> 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,
>



--