mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Anil <robin.a...@gmail.com>
Subject Re: Kmeans runs successfully, but no map/reduce jobs
Date Thu, 28 Jul 2011 06:24:58 GMT
Have you verified that the Sequence file in the input folder is having valid
records?

Robin

On Wed, Jul 27, 2011 at 4:20 PM, Dave Gettier <dgettier@potomacfusion.com>wrote:

>
> I am running a kmeans application which was adapted from  example 7.2 of
> Mahout in Action.  The java program runs successfully,  giving me the
> expected results;  however, there are no map/reduce jobs being kicked off.
>  My understanding was that KMeansCluster runs locally, but KMeansDriver run
> on the cluster.  How does one point the job to run on the cluster? Or am I
> missing something?
>
> KMeansDriver.run(conf,
>               new Path(cp.getsDataDir() +  "/points"),
>               new Path(cp.getsDataDir()  + "/clusters"),
>               new Path(cp.getsDataDir()  +  "/outputs"),
>               new EuclideanDistanceMeasure(),
>               .001,10, true, true);
>
> Thanks in advance!
>
> -DG
>
>

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