[
https://issues.apache.org/jira/browse/MAHOUT-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070979#comment-13070979
]
Choon-Siang Lai edited comment on MAHOUT-727 at 7/26/11 7:07 AM:
-----------------------------------------------------------------
erm... seen this error after updating my working copy, apparently #1150124
introduced some change that returns error message as follows:
$ bin/mahout fkmeans --input sensei/image-tag.mvc --output sensei/clusters
--clusters sensei/clusters/clusters-0 --clustering --overwrite --emitMostLikely
false --numClusters 50 --maxIter 10 --m 5
Running on hadoop, using HADOOP_HOME=/home/jeffrey04/Applications/hadoop
HADOOP_CONF_DIR=/home/jeffrey04/Applications/hadoop/conf
ERROR: Could not find mahout-examples-*.job in
/home/jeffrey04/Applications/mahout or
/home/jeffrey04/Applications/mahout/examples/target, please run 'mvn install'
to create the .job file
However, the script works again after reverting this line
{quote}
for f in "$MAHOUT_HOME/examples/target/mahout-examples-*-job.jar"
"$MAHOUT_HOME/mahout-examples-*-job.jar" ; do
{quote}
back to this (taken from 0.5-release)
{quote}
for f in $MAHOUT_HOME/examples/target/mahout-examples-*-job.jar; do
{quote}
should I start a new ticket, sorry if I hijacked this bug report?
was (Author: jeffrey04):
erm... seen this error after updating my working copy, apparently #1150124
introduced some change that returns error message as follows:
$ bin/mahout fkmeans --input sensei/image-tag.mvc --output sensei/clusters
--clusters sensei/clusters/clusters-0 --clustering --overwrite --emitMostLikely
false --numClusters 50 --maxIter 10 --m 5
Running on hadoop, using HADOOP_HOME=/home/jeffrey04/Applications/hadoop
HADOOP_CONF_DIR=/home/jeffrey04/Applications/hadoop/conf
ERROR: Could not find mahout-examples-*.job in
/home/jeffrey04/Applications/mahout or
/home/jeffrey04/Applications/mahout/examples/target, please run 'mvn install'
to create the .job file
However, the script works again after reverting this line
for f in "$MAHOUT_HOME/examples/target/mahout-examples-*-job.jar"
"$MAHOUT_HOME/mahout-examples-*-job.jar" ; do
back to this (taken from 0.5-release)
for f in $MAHOUT_HOME/examples/target/mahout-examples-*-job.jar; do
should I start a new ticket, sorry if I hijacked this bug report?
> Does bin/mahout work for binary distro?
> ---------------------------------------
>
> Key: MAHOUT-727
> URL: https://issues.apache.org/jira/browse/MAHOUT-727
> Project: Mahout
> Issue Type: Bug
> Components: build
> Affects Versions: 0.5
> Reporter: Sean Owen
> Assignee: Sean Owen
> Fix For: 0.6
>
>
> Mark reports that bin/mahout doesn't work out of the box from the binary
> distribution.
> 11/06/08 21:17:00 INFO mapred.JobClient: Task Id :
> attempt_201106061352_0066_r_000001_1, Status : FAILED
> Error: java.lang.ClassNotFoundException:
> org.apache.lucene.analysis.TokenStream
> This suggests the script isn't finding the job file, and indeed it is not in
> the same place in the binary distro as in the source tree. I am guessing this
> is the issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira