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

1.稀里糊涂下载

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

mahout地址

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

 

 

 

2.安装后

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

D:\Zoo\apache-mahout-distribution-0.13.0\bin>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:\Zoo\mahout-0.14.0"
"ERROR: Could not find mahout-examples-*.job in D:\Zoo\mahout-0.14.0 or D:\Zoo\mahout-0.14.0/examples/target, please run 'mvn install' to create the .job file"

 

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

 

3.继续修复

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

切换到examples目录下:

mvn -Dhadoop2.version=2.7.3 -DskipTests clean install

 

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

 

上一篇:Tensorflow中多GPU并行训练


下一篇:class.getClassLoader() 问题