Mahout安装

 tar -zxvf /opt/softwares/mahout-distribution-0.9.tar.gz -C /opt/modules/
/opt/modules/mahout-distribution-0.9


配置Mahout环境变量
# set mahout environment
export MAHOUT_HOME=/opt/modules/mahout-distribution-0.9
export MAHOUT_CONF_DIR=$MAHOUT_HOME/conf
export PATH=$MAHOUT_HOME/conf:$MAHOUT_HOME/bin:$PATH

测试
hadoop fs -put synthetic_control.data /user/root/testdatahadoop fs -put synthetic_control.data /user/root/testdata
./mahout -core  org.apache.mahout.clustering.syntheticcontrol.kmeans.Job

你可能感兴趣的:(Mahout安装)