Hi All,
To run a mahout example in command line, it works well, for example,
$HADOOP_HOME/hadoop jar
$MAHOUT_HOME/examples/target/mahout-examples-<VERSION>-job.jar
org.apache.mahout.classifier.df.BreimanExample -d testdata/glass.data
-ds testdata/glass.info -i 10 -t 100
But when I open the mahout example project in Eclipse and run the
class file: BreimanExample, it can not find the glass.info file which
is on HDFS.
how to run Eclipse and make it the same as running:
$HADOOP_HOME/hadoop jar
$MAHOUT_HOME/examples/target/mahout-examples-<VERSION>-job.jar
org.apache.mahout.classifier.df.BreimanExample -d testdata/glass.data
-ds testdata/glass.info -i 10 -t 100 in command line?
thanks,
|