Mathout 安装部署
安装Mahout,并运行测试样例,抓图测试实验过程 证明已部署成功
Mahout 下载地址:http://apache.dataguru.cn/mahout/0.9/mahout-distribution-0.9.tar.gz
su
vim /etc/profile
Set the environment variable:
export MAHOUT_HOME=/home/hadoop/mahout0.9
export MAHOUT_CONF_DIR=/home/hadoop/mahout0.9/conf
export PATH=$PATH:$MAHOUT_HOME/conf:$MAHOUT_HOME/bin
source /etc/profile
上载测试数据到hdfs:
hadoop fs -put /home/hadoop/data/synthetic_control.data testdata
mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
Hadoop fs -ls output
Looking for a job working at Home about MSBI