mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qiaoresearcher <qiaoresearc...@gmail.com>
Subject question about run mahout example in Eclipse
Date Wed, 17 Apr 2013 18:09:51 GMT
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,

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message