You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Geethajini C <ge...@yahoo.co.in> on 2008/09/29 12:11:54 UTC

Doubt in MultiFileWordCount.java

Hi everyone,

                    In the example MultiFileWordCount.java (hadoop-0.17.0), what happens when the statement        JobClient.runJob(job);        is executed. What methods will be called in sequence?

Geetha Jini.C




      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Re: Doubt in MultiFileWordCount.java

Posted by Arun C Murthy <ac...@yahoo-inc.com>.
On Sep 29, 2008, at 3:11 AM, Geethajini C wrote:

> Hi everyone,
>
>                     In the example MultiFileWordCount.java  
> (hadoop-0.17.0), what happens when the statement         
> JobClient.runJob(job);        is executed. What methods will be  
> called in sequence?
>

This might help:
http://hadoop.apache.org/core/docs/r0.17.2/api/org/apache/hadoop/mapred/JobClient.html

Arun

Re: Doubt in MultiFileWordCount.java

Posted by Owen O'Malley <om...@apache.org>.
On Sep 29, 2008, at 3:11 AM, Geethajini C wrote:

>                     In the example MultiFileWordCount.java  
> (hadoop-0.17.0), what happens when the statement         
> JobClient.runJob(job);        is executed. What methods will be  
> called in sequence?

You really should be running 0.17.2 (or the upcoming 0.17.3) instead  
of 0.17.0. There are some important bug fixes.

It is a long and complicated process. Fundamentally, it submits your  
job to the cluster, but there are a lot of methods in a lot of  
contexts to make it happen. If you have a specific requirement, I  
suggest you look at the source code.

-- Owen