Re: Mahout and Hadoop 2

2013-03-13 Thread Jian Fang
I used the following command and seems it worked. mvn -Phadoop-0.23 clean install -DskipTests -Dhadoop.version=2.0.2-alpha -Dmahout.skip.distribution=false On Wed, Mar 13, 2013 at 1:38 PM, Jian Fang wrote: > No, it won't because of missing method in class. > > I guess the profile is hadoop-0.23

Re: Mahout and Hadoop 2

2013-03-13 Thread Jian Fang
No, it won't because of missing method in class. I guess the profile is hadoop-0.23 in core/pom.xml. Will try that. Thanks, Jian On Wed, Mar 13, 2013 at 1:35 PM, Dmitriy Lyubimov wrote: > as far as i understand, you can rebuild as is then run it with 2.0.0 at > runtime, it should stay compati

Re: Mahout and Hadoop 2

2013-03-13 Thread Dmitriy Lyubimov
as far as i understand, you can rebuild as is then run it with 2.0.0 at runtime, it should stay compatible. (unless it doesn't :) On Wed, Mar 13, 2013 at 1:26 PM, Jian Fang wrote: > Thanks., but we want to build from original Apache hadoop, not cdh. > > On Wed, Mar 13, 2013 at 1:23 PM, Zheyi RON

Re: Mahout and Hadoop 2

2013-03-13 Thread Jian Fang
Thanks., but we want to build from original Apache hadoop, not cdh. On Wed, Mar 13, 2013 at 1:23 PM, Zheyi RONG wrote: > Hi, > > I can run mahout 0.7 with both command line and Java Api, on cloudera4, > i.e. hadoop 2.0.0-mr1-cdh4.1.2 > > Zheyi > > On Wed, Mar 13, 2013 at 8:58 PM, Jian Fang >wro

Re: Mahout and Hadoop 2

2013-03-13 Thread Jian Fang
Thanks. I commented out hadoop-core, but it threw errors such as 'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is missing Do you know where I can find the profile? Thanks, Jian On Wed, Mar 13, 2013 at 1:13 PM, Sean Owen wrote: > I think someone submitted a differen

Re: Mahout and Hadoop 2

2013-03-13 Thread Zheyi RONG
Hi, I can run mahout 0.7 with both command line and Java Api, on cloudera4, i.e. hadoop 2.0.0-mr1-cdh4.1.2 Zheyi On Wed, Mar 13, 2013 at 8:58 PM, Jian Fang wrote: > Hi, > > Is there anyway to make mahout 0.7 or 0.8 work with Hadoop 2.0.2-alpha? > > Seems Mahout builds against Hadoop 1.X by defa

Re: Mahout and Hadoop 2

2013-03-13 Thread Sean Owen
I think someone submitted a different build profile that changes the dependencies for you. I believe the issue is using "hadoop-common" and not "hadoop-core" as well as changing versions. I think the rest is compile compatible and probably runtime compatible. But I've not tried. On Wed, Mar 13, 2