`
jayghost
  • 浏览: 429233 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Mahout Local模式 执行example的注意点

 
阅读更多

在export MAHOUT_LOCAL=true后,执行.sh时,出现Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/util/ProgramDriver,意思是找不到hadoop的jar文件,可以在mahout-examples-0.7-job.jar中更新META-INF/MAINFEST.MF,加上Class-Path: lib/hadoop/hadoop-core-0.20.204.0.jar即可引入hadoop。

如果出现java.lang.OutOfMemoryError: Java heap space异常,修改bin/mahout中JAVA_HEAP_MAX=-Xmx1g改大小(512m)

分享到:
评论
1 楼 yinxusen 2013-05-13  
It seems to be the bug occur in Mahout driver, see the link below:
https://issues.apache.org/jira/browse/MAHOUT-1044
fix the line 224/223 will remove the issue.

相关推荐

Global site tag (gtag.js) - Google Analytics