hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: wrong value class error
Date Tue, 16 Nov 2010 16:39:22 GMT

On Tue, Nov 16, 2010 at 9:39 PM, Arindam Khaled <akhaled@utdallas.edu> wrote:
> When I comment out the combiner class, it seems to work fine. Thanks.

That isn't a solution, but sure avoids the error. You need to
implement a proper Combiner class that emits the same Key and Value
pair as your Mapper should. Your Reducer logic emits out <Text, Text>,
which was the issue if you utilized the same class for Combiner too.

But do know that the Combiner may be called 0...N times per Mapper.

Harsh J

View raw message