Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-476

bug when running org.apache.mahout.classifier.bayes.WikipediaDatasetCreatorDriver on hadoop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.3
    • Fix Version/s: 0.3
    • Component/s: Classification
    • Labels:
      None
    • Environment:

      hadoop 0.20.2
      mahout-0.3
      ubuntu

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              leonlee leon lee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: