mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Lucene Mahout > TasteCommandLine
Date Tue, 23 Mar 2010 18:36:00 GMT
Space: Apache Lucene Mahout (
Page: TasteCommandLine (

Edited by Sean Owen:
h1. Introduction 

This quick start page describes how to run the hadoop based recommendation jobs of Mahout
Taste on a Hadoop cluster. 

h1. Steps 

h2. Testing it on one single machine w/o cluster 

In the examples directory type, for example: 
mvn -q exec:java -Dexec.mainClass=""

h2. Running it on the cluster 

* In $MAHOUT_HOME/, build the jar containing the job (mvn install) The job will be generated
in $MAHOUT_HOME/core/target/ and it's name will contain the Mahout version number. For example,
when using Mahout 0.3 release, the job will be mahout-core-0.3.jar 
* (Optional) 1 Start up Hadoop: $HADOOP_HOME/bin/ 
* Put the data: $HADOOP_HOME/bin/hadoop fs -put <PATH TO DATA> testdata 
* Run the Job: $HADOOP_HOME/bin/hadoop jar $MAHOUT_HOME/core/target/mahout-core-<MAHOUT
* Get the data out of HDFS and have a look. Use bin/hadoop fs -lsr output to view all outputs.

h1. Command line options 

Specify only the command line option "--help" for a complete summary of available command
line options. Or, refer to the javadoc for the "Job" class being run.

Change your notification preferences:

View raw message