[
https://issues.apache.org/jira/browse/MAHOUT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891690#action_12891690
]
Peter Goldstein commented on MAHOUT-427:
----------------------------------------
It took longer than a day, but I finally did try this again. And now I can't
get the examples to run at all. With or without the mvn install inside the
examples directory (and even after yet another mvn clean install from the root)
I get page after page of exceptions, all ClassNotFoundExceptions at their base:
10/07/23 17:31:35 INFO mapred.JobClient: Task Id : attempt_201007231729_0001_m_0
00000_0, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.document.SequenceFileTokenizerMapper
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:31:35 INFO mapred.JobClient: Task Id : attempt_201007231729_0001_m_0
00001_0, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.document.SequenceFileTokenizerMapper
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:31:41 INFO mapred.JobClient: Task Id : attempt_201007231729_0001_m_0
00001_1, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.document.SequenceFileTokenizerMapper
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:31:48 INFO mapred.JobClient: Task Id : attempt_201007231729_0001_m_0
00000_2, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.document.SequenceFileTokenizerMapper
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:32:08 INFO mapred.JobClient: Task Id : attempt_201007231729_0002_r_0
00000_0, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.term.TermCountReducer
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:32:14 INFO mapred.JobClient: Task Id : attempt_201007231729_0002_r_0
00000_1, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.term.TermCountReducer
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:32:20 INFO mapred.JobClient: Task Id : attempt_201007231729_0002_r_0
00000_2, Status : FAILED
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.mahout.
utils.vectors.text.term.TermCountReducer
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:960)
...
10/07/23 17:32:42 INFO mapred.JobClient: Task Id : attempt_201007231729_0003_r_0
00000_0, Status : FAILED
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundE
xception: org.apache.mahout.common.StringTuple
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:992)
...
10/07/23 17:32:48 INFO mapred.JobClient: Task Id : attempt_201007231729_0003_r_0
00000_1, Status : FAILED
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundE
xception: org.apache.mahout.common.StringTuple
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:992)
This is using hadoop 0.20.2+320 and the trunk Mahout (r967178), on a totally
fresh AMI.
Any ideas?
> $MAHOUT_HOME/examples/bin/build-reuters.sh doesn't run successfully because
> of classpath issues related to the -core argument
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MAHOUT-427
> URL: https://issues.apache.org/jira/browse/MAHOUT-427
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Hadoop installation on EC2 as described here -
> https://cwiki.apache.org/MAHOUT/mahoutec2.html
> Reporter: Peter Goldstein
>
> Once I resolved issue MAHOUT-426 , I was still not able to run the
> ./examples/bin/build-reuters.sh script without errors These were
> ClassNotFoundExceptions, indicating a problem with the classpath.
> The issue appears to be related to the "-core" argument, which controls the
> classpath. Placing '-core' as the first argument to the individual
> $MAHOUT_HOME/bin/mahout calls in the script solved the issue, but I'm not
> sure it was the correct solution. It's unclear to me what the '-core'
> argument is supposed to signify.
> Can someone shed some light on this, and tell me whether this is the correct
> solution to the problem? And if not, what is the correct solution to this
> classpath issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.