最新发布的Mahout 0.9 只支持基于Hadoop 1.x版本(mvn clean install)。如果要编译Mahout以支持Hadoop 2.0.x,您该怎么做呢?
因为当我运行以下命令时:
hadoop jar mahout-examples-0.9-SNAPSHOT-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -s SIMILARITY_COOCCURENCE -i test -o result
我总是收到错误消息:
IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected.
谢谢!
因为当我运行以下命令时:
hadoop jar mahout-examples-0.9-SNAPSHOT-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -s SIMILARITY_COOCCURENCE -i test -o result
我总是收到错误消息:
IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected.
谢谢!