hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P.ILAYARAJA" <ilayar...@rediff.co.in>
Subject Problem in Map/Reduce
Date Fri, 29 Aug 2008 06:55:51 GMT

Hello:

I wrote a simple Map/Reduce program. The ouput key of the Map function is a user defined datum(class)
with two member strings. The OutputKeyComparatorClass is set to this datum class and the class

overrides the "compareTo" function. 

The problem is the final MapOutput from reduce has the same "key" occuring in more than one
record.
Any thougts on why this could happen?

Also I see that the compareTo function never gets as input the pair of "keys" that are same
for comparison.....

Regards,
Ilay
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message