mahout从入门到放弃--安装(1)

1.稀里糊涂下载

 我的集群是hadoop 2.7.3 ,本来想找到对应的mahout版本,但是没有找到。本着安全原则,mahout最新版本是0.14.0,回退一个版本使用0.13.0

mahout地址

 

2.安装后

一波操作:解压到D:Zoo和配置好环境变量后,运行报错!!!

D:ooapache-mahout-distribution-0.13.0in>mahout
"===============DEPRECATION WARNING==============="
"This script is no longer supported for new drivers as of Mahout 0.10.0"
"Mahout's bash script is supported and if someone wants to contribute a fix for this"
"it would be appreciated."
"Mahout home set D:oomahout-0.14.0"
"ERROR: Could not find mahout-examples-*.job in D:oomahout-0.14.0 or D:oomahout-0.14.0/examples/target, please run 'mvn install' to create the .job file"

3.继续修复

查到博客说有用 mvn可以解决这个问题

切换到examples目录下:

mvn -Dhadoop2.version=2.7.3 -DskipTests clean install

 

原文地址:https://www.cnblogs.com/wqbin/p/11370306.html