[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-user
Subject:    Re: kmeans
From:       Marco Didonna <m.didonna86 () gmail ! com>
Date:       2011-02-26 17:34:06
Message-ID: ikbdif$1bl$1 () dough ! gmane ! org
[Download RAW message or body]

On 02/26/2011 02:27 PM, MANISH SINGLA wrote:
> actually I have kmeansMapper,reducer and driver
> files...seperately...and now I want to execute them on the
> terminal...using Hadoop...what are the steps that I should
> follow...e.g.when running the wordcount program...its simply preseent
> in the hadoop-examples.jar...but kmeans is not...so I have taken the
> code from the net...and want to run it...plzz help!!!
> thank you
> Manish
>

As you see in the wordcount example 
http://wiki.apache.org/hadoop/WordCount you need to create a driver 
class which will instruct hadoop about which class is the mapper, which 
one the reducer etc...try making your code look like the example and 
then run the class you'll create :)

MD


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic