I am trying to run Mahout locally (without Hadoop) on a Windows 8 machine. I understand that this is not an optimal setup, but something I need to work with.
When I try to run bin/mahout , I get the following error:
$ bin/mahout MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath. no HADOOP_HOME set, running locally Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/mahout/dri ver/MahoutDriver Caused by: java.lang.ClassNotFoundException: org.apache.mahout.driver.MahoutDriv er at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: org.apache.mahout.driver.MahoutDriver. Program w ill exit.
I tried to download the source code and install it using maven and use the pre-compiled distribution files provided here: http://www.poolsaboveground.com/apache/mahout/
I also tried using versions 0.7 and 0.6 of Mahout and got the same problem. Not sure if this has anything to do with my version of java, but I use: 1.7.0_09. I also set the environment variables MAHOUT_LOCAL = true and MAHOUT_HEAPSIZE=128
source share