mahout-0.9源码编译过程

由于我是ubuntu14.04,32bit系统,mahout官网有安装包,可以直接下载使用,但是我这里还是尝试了一下用maven编译mahout0.9源码.

1.源码下载

官网地址:http://apache.fayea.com/mahout/0.9/

网盘地址:http://pan.baidu.com/s/1eQEkbNs

解压为mahout-distribution-0.9文件夹

2.maven编译

maven要先安装,我的是3.2.5版本

cd mahout-distribution-0.9

输入指令:

mvn -DskipTests=true clean install进行mahout源代码编译,编译完成后可以看到下面的提示信息:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mahout Build Tools ................................. SUCCESS [  4.038 s]
[INFO] Apache Mahout ...................................... SUCCESS [  1.139 s]
[INFO] Mahout Math ........................................ SUCCESS [ 26.081 s]
[INFO] Mahout Core ........................................ SUCCESS [ 21.073 s]
[INFO] Mahout Integration ................................. SUCCESS [  2.923 s]
[INFO] Mahout Examples .................................... SUCCESS [ 13.765 s]
[INFO] Mahout Release Package ............................. SUCCESS [  0.031 s]
[INFO] Mahout Math/Scala wrappers ......................... SUCCESS [18:14 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:24 min
[INFO] Finished at: 2015-04-19T23:05:39+08:00
[INFO] Final Memory: 41M/301M
[INFO] ------------------------------------------------------------------------
hadoop@master:~/mahout-distribution-0.9$
说明编译成功,并且在对应的目录中就会生成相应的jar包,基本上和官网发布的安装包一致,所以编译成功!

你可能感兴趣的:(Mahout)