I try to run an example and get the following error:

eb 18, 2014 4:31:28 PM org.apache.hadoop.mapred.LocalJobRunner$Job run
WARNING: job_local_0001
*java.lang.NoSuchFieldError: LUCENE_43*
at
org.apache.mahout.common.lucene.AnalyzerUtils.createAnalyzer(AnalyzerUtils.java:35)
at
org.apache.mahout.vectorizer.document.SequenceFileTokenizerMapper.setup(SequenceFileTokenizerMapper.java:66)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:214)

I have googled it and according to the following links:

1.
http://www.warski.org/blog/2013/10/using-amazons-elastic-map-reduce-to-compute-recommendations-with-apache-mahout-0-8/
2.
http://sujitpal.blogspot.gr/2013/10/topic-modeling-with-mahout-on-amazon-emr.html

I should modify (upgrade) the hadoop (1.2.1) jars to be referring to Lucene
4.3.0, as that is the version the Mahout recommender job depends on. Any
other recommendation? I would not like to modify (recompile) the hadoop
source files.

Reply via email to