Re: Running CVB command

2013-03-13 Thread Wilson Chu
Jake Mannix gmail.com> writes: > > If it ends with "total training time..." it's done. The JVM isn't exiting, > but I bet if you check your HDFS (or local FS if running without hadoop), > you'll see it has already created and populated the output directories. > > What version of Mahout are yo

Re: How to classifyan individual file after training

2013-03-13 Thread Frederic Dang Ngoc
BS TLC ymail.com> writes: > > Does anyone have a working piece of code for classifying individual documents after training the naive > bayes model? > > In the past, the class org.apache.mahout.classifier.Classify did this job, > but i haven't found any > equivalent working on the current ver

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

Re: Problem in Deploying Mahout Recommender As a Web Service

2013-03-13 Thread Koobas
On Wed, Mar 13, 2013 at 5:01 AM, Manuel Blechschmidt < manuel.blechschm...@gmx.de> wrote: > Hi Reinhard, > here you go: > > https://github.com/ManuelB/facebook-recommender-demo > > The example above provides a SOAP interface and a REST interface using > Java EE 6. It is not scalable for a lot of r

Re: Problem in Deploying Mahout Recommender As a Web Service

2013-03-13 Thread Manuel Blechschmidt
Hi Reinhard, here you go: https://github.com/ManuelB/facebook-recommender-demo The example above provides a SOAP interface and a REST interface using Java EE 6. It is not scalable for a lot of reasons e.g. no caching, no multithreading etc. It uses Mahout 0.7. https://github.com/ManuelB/facebo