mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee S <sle...@gmail.com>
Subject Re: How can I include mahout 0.9 with hadoop 2.3 in my project?
Date Tue, 16 Dec 2014 10:28:33 GMT
Hi all , I have figured this out.
The command should be (mvn clean install -Dhadoop2 -Dhadoop.version=2.3.0
-DskipTests=true ).
Because (<hadoop.version>2.2.0</hadoop.version>) is in the pom.xml, not
hadoop2.version.
Hope this can help somebody who meets the same problem.

2014-12-16 15:49 GMT+08:00 Lee S <sleefd@gmail.com>:
>
> I compiled mahout with hadop 2.3.0 as following:
> 1.  get the trunck code
>
> git clone https://github.com/apache/mahout.git
>
> 2. mvn clean install -Dhadoop2 -Dhadoop2.version=2.3.0 -DskipTests=true
>    and all build is successful.
>
> 3. find hadoop in code base
>    but  no hadoop-2.3.0 comes out, only hadoop-2.2.0 things could be
> found, why?
>
> ps. I also tried (-Dhadoop2 -Dhadoop.2.version=2.3.0 -DskipTest=ture), but
> without effects too.
>
>
> 2014-12-16 14:04 GMT+08:00 孙小超 <se7ensun@qq.com>:
>>
>> Hi,you should do git clone first,and use maven command "mvn
>> -DskipTests=true clean package‍". Then maven will download hadoop 2.2.0
>> jars and package the right mahout jar files which can run on hadoop 2.x .
>>
>>
>>
>>
>> ------------------ 原始邮件 ------------------
>> 发件人: "Marko Dinic";<marko.dinic@nissatech.com>;
>> 发送时间: 2014年12月15日(星期一) 下午5:45
>> 收件人: "user"<user@mahout.apache.org>;
>> 抄送: "jyotiranjan panda"<tell2jyoti@gmail.com>;
>> 主题: Re: How can I include mahout 0.9 with hadoop 2.3 in my project?
>>
>>
>>
>> Hello,
>>
>> Sorry for bumping like this, but I have a very similar question, can I
>> use Mahout 0.9 with Hadoop 0.20.2?
>>
>> Thanks
>>
>> On Mon 15 Dec 2014 10:09:56 AM CET, jyotiranjan panda wrote:
>> > Hi,
>> > mahout-0.9 is compatible with hadoop-1.2.1
>> >
>> > Regards
>> > Jyoti Ranjan Panda
>> >
>> > On Mon, Dec 15, 2014 at 2:33 PM, Lee S <sleefd@gmail.com> wrote:
>> >>
>> >> Hi all:
>> >> I use gradle to management dependencies in my project.
>> >>
>> >> dependencies {
>> >>       compile  'org.apache.mahout:mahout-core:0.9'
>> >> }
>> >>
>> >> When gradle build , mahout with hadoop 1.2.1 will be downloaded.
>> >>
>> >> Do I need to compile mahout with hadoop 2.3.0 and then include it
>> into my
>> >> project locally?
>> >>
>> >
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message