[ 
https://issues.apache.org/jira/browse/MAHOUT-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986371#comment-13986371
 ] 

Alexander Ostrikov commented on MAHOUT-1329:
--------------------------------------------

Dear Suneel Marthi - You can see from my last comment, that I actually 
successfully compiled Mahout trunk using "mvn clean install -Dhadoop2 
-Dhadoop.2.version=2.4.0 -DskipTests=true".
But still getting "trainnb fails with Exception in thread "main" 
java.lang.IncompatibleClassChangeError: Found interface 
org.apache.hadoop.mapreduce.JobContext, but class was expected."

It is the same error comes from running Mahout command with "mahout trainnb 
..." from terminal or running TrainNaiveBayesJob.class as java step in Oozie.

Does code at  https://github.com/apache/mahout/archive/trunk.zip already 
contains the patches attached here?
Did anyone checked running naive bayes with hadoop 2?
Thanks!

By hadoop version is 2.4.0.2.1.1.0-385 from HDP2.1 by Hortonworks.

> Mahout for hadoop 2
> -------------------
>
>                 Key: MAHOUT-1329
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1329
>             Project: Mahout
>          Issue Type: Task
>          Components: build
>    Affects Versions: 0.9
>            Reporter: Sergey Svinarchuk
>            Assignee: Gokhan Capan
>              Labels: patch
>             Fix For: 1.0
>
>         Attachments: 1329-2.patch, 1329-3-additional.patch, 1329-3.patch, 
> 1329.patch
>
>
> Update mahout for work with hadoop 2.X, targeting this for Mahout 1.0.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to