I got this weird error after copying a MapReduce program from one project to the other one. The output types of Map match the ones defined in the job. I found that Netbeans replaced
public void map(Object key, Text value, Context context) by
public void map(Object key, Text value, Reducer.Context context). This caused the method not to override its default parent implementation, which has - surprise - LongWritable as output key by default.
Noch kein Feedback
Formular wird geladen...