hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alx...@aim.com
Subject reducer gets values with empty attributes
Date Mon, 29 Apr 2013 20:59:37 GMT


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?


View raw message