我尝试使用以下链接与mahout合作:http://girlincomputerscience.blogspot.in/2010/11/apache-mahout.html
当我执行命令时 anand@ubuntu:~/Downloads/mahout-distribution-0.9$ bin/mahout recommenditembased --input mydata.dat --usersFile user.dat --numRecommendations 2 --output output/ --similarityClassname SIMILARITY_PEARSON_CORRELATION
它显示: hadoop binary is not in PATH,HADOOP_HOME/bin,HADOOP_PREFIX/bin, running locally Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.
错误的可能原因是什么?
1条答案
按热度按时间w8ntj3qf1#
您需要先设置apache hadoop(这里也有描述):
然后尝试设置apache mahout
apache mahout安装程序
设置环境变量:
现在,您的mahout安装应该可以正常工作了(请阅读此处了解更多信息)。