Mahout 0.9 is not supported anymore and u shouldn't be using it.

The issue u r seeing is due to Mahout 0.9 not being compatible with hadoop
2.x.

Suggest you try this example with Mahout 0.11.0 or 0.12.0.



On Mon, Apr 25, 2016 at 6:27 AM, Nantia Makrynioti <nantiam...@gmail.com>
wrote:

> Hello,
>
> I have installed Hadoop 2.2.0 on an Ubuntu 14.04 machine. I built Mahout
> 0.9 with
>
> mvn clean package -Dhadoop2.version=2.2.0
>
> but when I run the 20newsgroups classification example, I get the following
> exception:
>
> java.lang.IncompatibleClassChangeError: Found interface
> org.apache.hadoop.mapreduce.JobContext, but class was expected
>
> How can I run Mahout with Hadoop 2.2.0?
>
> Thank you in advance,
> Nantia
>

Reply via email to