svn co http://svn.apache.org/repos/asf/mahout/trunk svn co http://svn.apache.org/repos/asf/mahout/branches/mahout-0.8 mv trunk/ mahoutTrunk/ wget http://apache.mesi.com.ar/mahout/0.8/mahout-distribution-0.8.tar.gz ln -s /home/yiyujia/workingDir/mahoutTrunk mahout vi .bash_profile source .bash_profile export HADOOP_HOME=/home/yiyujia/workingDir/hadoop-1.1.1 export HADOOP_CONF_DIR=$HADOOP_HOME/conf export MAHOUT_HOME=/mahout export PATH=$PATH:$MAHOUT_HOME $HADOOP_HOME/bin/hadoop fs -mkdir testdata $HADOOP_HOME/bin/hadoop fs -put synthetic_control.data testdata mvn dependency::tree $MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.canopy.Job $MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job $HADOOP_HOME/bin/hadoop fs -get output $MAHOUT_HOME/examples $MAHOUT_HOME/bin/mahout clusterdump --input output/clusters-10 --pointsDir output/clusteredPoints --output $MAHOUT_HOME/examples/output/clusteranalyze.txt
Wednesday, August 14, 2013
setup Mahout environment
Labels:
Big Data,
data analysis,
Data Lake,
data science,
hadoop,
mahout
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment