Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> How to not output the key


Copy link to this message
-
Re: How to not output the key
Hi,

You have to specify the reducer key out type as NullWritable.

Cheers!
Manoj.

On Wed, Sep 12, 2012 at 7:43 AM, Nataraj Rashmi - rnatar <
[EMAIL PROTECTED]> wrote:

>  Hello,****
>
> ** **
>
> I have simple map/reduce program to merge input files into one big output
> files. My question is, is there a way not to output the key from the
> reducer to the output file? I only want the value, not the key for each
> record.****
>
> ** **
>
> Thanks****
>
> ** **
>
> ***************************************************************************
> The information contained in this communication is confidential, is
> intended only for the use of the recipient named above, and may be legally
> privileged.
>
> If the reader of this message is not the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.
>
> If you have received this communication in error, please resend this
> communication to the sender and delete the original message or any copy
> of it from your computer system.
>
> Thank You.
>
> ****************************************************************************
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB