bclement/inverted-index — Issue #1: Type mismatch in mapper
Author: bclement
Created: 2011-12-04 02:38:27+00:00
State: open

java.io.IOException: Type mismatch in value from map: expected org.apache.hadoop.io.Text, recieved group1.inverted.Posting
at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:1018)
at org.apache.hadoop.mapred.MapTask$OldOutputCollector.collect(MapTask.java:591)
at group1.inverted.Indexer$Map.map(Indexer.java:68)
at group1.inverted.Indexer$Map.map(Indexer.java:27)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:435)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:210)

Looks like the type arguments when implementing mapper and the type arguments for the collector don't jive.