Mahout .9 distro was built with Hadoop 1.x profile,

The errors u r seeing r due to running a Mahout distro that was built with 
Hadoop 1x profile on Hadoop 2

To run on Hadoop 2 please work off of present trunk that already has this patch 
and build with Hadoop 2 profile as per Gokhan's instructions in this jira.

Sent from my iPhone

> On Apr 25, 2014, at 3:36 PM, "Richard Scharrer (JIRA)" <[email protected]> 
> wrote:
> 
> 
>    [ 
> https://issues.apache.org/jira/browse/MAHOUT-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981492#comment-13981492
>  ] 
> 
> Richard Scharrer commented on MAHOUT-1329:
> ------------------------------------------
> 
> Hi,
> i tried this patch and the build was successfull but when I start mahout I 
> get 
> 
> Running on hadoop, using /usr/bin/hadoop and HADOOP_CONF_DIR=
> MAHOUT-JOB: 
> /home/drahcir/mahout-distribution-0.9/examples/target/mahout-examples-0.9-job.jar
> Exception in thread "main" java.lang.NoSuchMethodError: 
> org.apache.hadoop.util.ProgramDriver.driver([Ljava/lang/String;)V
>    at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:122)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:606)
>    at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
> 
> Im using CDH 4.6 with Hadoop 2.0.0-cdh4.6.0.
> 
> Any idea why this doesn't work?
> 
> 
>> 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