mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: How to launch an Hadoop Recommender Job from Java ?
Date Wed, 10 Aug 2011 12:47:34 GMT
You could just run the main() method with an array of the same arguments you
passed on the command line. It's a little ugly but entirely works.

2011/8/10 Clément Notin <clement.notin@gmail.com>

> Hello,
>
> I've achieved to run a recommender over hadoop using the command line
> /bin/mahout org.apache.mahout.cf.taste.hadoop.item.RecommenderJob --input
> .....
> I'm happy with it but now I want to launch this using Java.
>
> What is the easiest way to do this ? I tried to run the MahoutDriver but it
> runs locally however I want to launch the job on an hadoop cluster.
>
> Regards.
>
> --
> *Clément **Notin*
>

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