You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Brian Salgado (JIRA)" <ji...@apache.org> on 2014/06/03 00:07:05 UTC

[jira] [Comment Edited] (MAHOUT-1329) Mahout for hadoop 2

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

Brian Salgado edited comment on MAHOUT-1329 at 6/2/14 10:06 PM:
----------------------------------------------------------------

Hi Gokhan,

I've followed the instructions mentioned above and build master branch of https://github.com/apache/mahout locally and used the dependencies below when running Mahout job but I am still experiencing error below.

[Dependencies]
mahout-core-1.0-SNAPSHOT.jar
mahout-math-1.0-SNAPSHOT.jar
hadoop-annotations-2.2.0.jar
hadoop-auth-2.2.0.jar
hadoop-common-2.2.0.jar
hadoop-mapreduce-client-common-2.2.0.jar
hadoop-mapreduce-client-core-2.2.0.jar
hadoop-yarn-api-2.2.0.jar
hadoop-yarn-client-2.2.0.jar
hadoop-yarn-common-2.2.0.jar
hadoop-yarn-server-common-2.2.0.jar
commons-cli-2.0-mahout.jar

[Error]
14/06/02 13:50:30 INFO Configuration.deprecation: mapred.output.dir is deprecated. Instead, use mapreduce.output.fileoutputformat.outputdir
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
at org.apache.mahout.common.HadoopUtil.getCustomJobName(HadoopUtil.java:166)
at org.apache.mahout.common.AbstractJob.prepareJob(AbstractJob.java:579)
at com.bestbuy.recs.mahout.algorithms.BinaryStep.run(BinaryStep.java:82)

Wanted to ask help if I have missed something out.

Regards,
Brian


was (Author: brian.salgado):
Hi Gokhan,

I've followed the instructions mentioned above and build master branch of https://github.com/apache/mahout locally and used the dependencies below when running Mahout job but I am still experiencing error below.

Dependencies:
mahout-core-1.0-SNAPSHOT.jar
mahout-math-1.0-SNAPSHOT.jar
hadoop-annotations-2.2.0.jar
hadoop-auth-2.2.0.jar
hadoop-common-2.2.0.jar
hadoop-mapreduce-client-common-2.2.0.jar
hadoop-mapreduce-client-core-2.2.0.jar
hadoop-yarn-api-2.2.0.jar
hadoop-yarn-client-2.2.0.jar
hadoop-yarn-common-2.2.0.jar
hadoop-yarn-server-common-2.2.0.jar
commons-cli-2.0-mahout.jar

Wanted to ask help if I have missed something out.

Regards,
Brian

> 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)