[
https://issues.apache.org/jira/browse/MAHOUT-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898159#action_12898159
]
leon lee commented on MAHOUT-476:
---------------------------------
same problem with trunk version.
So I changed hadoop machine ( a cluster with 3 machines in hadoop 0.20.2)
to
a single machine which are deployed Hadoop (CDH2) in Pseudo-Distributed Mode.
cloudera chd2 version: hadoop-0.20 0.20.1+169.68-1~intrepid-cdh2 .
and now, TrainClassifier in mahout 0.3 run successfully.
no error.
Maybe It is a problem with hadoop environment ? I'm confused.
> bug when running
> org.apache.mahout.classifier.bayes.WikipediaDatasetCreatorDriver on hadoop
> -------------------------------------------------------------------------------------------
>
> Key: MAHOUT-476
> URL: https://issues.apache.org/jira/browse/MAHOUT-476
> Project: Mahout
> Issue Type: Bug
> Components: Classification
> Affects Versions: 0.3
> Environment: hadoop 0.20.2
> mahout-0.3
> ubuntu
> Reporter: leon lee
>
> when I follow wiki instruction:
> https://cwiki.apache.org/MAHOUT/wikipedia-bayes-example.html
> (by the way, the bayes examples document in wiki need update to 0.3 )
> to run step 5:
> Create the countries based Split of wikipedia dataset.
> I use the following command:
> $HADOOP_HOME/bin/hadoop jar
> $MAHOUT_HOME/examples/target/mahout-examples-0.3.job
> org.apache.mahout.classifier.bayes.WikipediaDatasetCreatorDriver -i
> $MAHOUT_HOME/examples/work/wikipedia/chunks -o
> $MAHOUT_HOME/examples/work/wikipediainput -c
> $MAHOUT_HOME/examples/src/test/resources/country.txt
> and failed on hadoop.
> see hadoop log, it hint:
> Error:
> org.apache.lucene.wikipedia.analysis.WikipediaTokenizer.addAttribute(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.