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 >> Re: reducer gets values with empty attributes


Copy link to this message
-
Re: reducer gets values with empty attributes
Hi Alex,

             Can you please attach your code? and the sample input data.

Best,
Mahesh Balija,
Calsoft Labs.
On Tue, Apr 30, 2013 at 2:29 AM, <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I try to write mapreduce program in hadoop -1.0.4. using mapred libs. I have a map function which gets
>
> keys and creates a different object with a few attributes like id and etc and passes it to reducer function using
>
>
>  output.collect(key, value);
>
> Reducer gets keys, but values  has empty  fields (like id and etc) , although map correctly assigns these fields to each value.
>
> Any ideas why this happens?
>
> Thanks.
> Alex.
>
>
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