hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gang Luo <lgpub...@yahoo.com.cn>
Subject Re: don't want to output anything
Date Wed, 04 May 2011 20:43:12 GMT
Exactly what I want. Thanks Harsh J.


----- 原始邮件 ----
发件人: Harsh J <harsh@cloudera.com>
收件人: common-user@hadoop.apache.org
发送日期: 2011/5/4 (周三) 4:03:35 下午
主   题: Re: don't want to output anything

Hello Gang,

On Thu, May 5, 2011 at 1:22 AM, Gang Luo <lgpublic@yahoo.com.cn> wrote:
> Hi,
> I use MapReduce to process and output my own stuff, in a customized way. I 
> use context.write to output anything, and thus I don't want the empty files
> part-r-xxxxx on my fs. Is there someway to eliminate the output?

You're looking for the NullOutputFormat:

Harsh J

View raw message