mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Filimon <>
Subject Classpath issues for basic mapreduce
Date Thu, 08 Nov 2012 13:23:02 GMT

I'm having trouble with the following code (an updated version of the
basic clustering code in Sean Owen's book):

It compiles just fine, but I'm using a project based on Mahout for the
dependencies and class path and it won't run.

It initially threw a NoClassDefFoundError for org/apache/hadoop/io/Writable.

It turns out that the Hadoop Mahout 0.8 depends on is but I
only have 1.0.4 installed on my machine so I updated the dependencies
in IntelliJ to include the Hadoop JARs that I have.

Now, it's failing because it can't find another class:
Exception in thread "main" java.lang.NoClassDefFoundError:

I can see this dependency available when I imported the Maven project
but it doesn't seem to be on the classpath.
Any ideas?

View raw message