hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Echeverria <j...@cloudera.com>
Subject Re: How discard reduce results in mapreduce?
Date Thu, 02 Jun 2011 11:04:11 GMT
Set your output format to the NullOutputFormat:

job.setOutputFormat(NullOutputFormat.class);

-Joey


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

Mime
View raw message