Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> understanding hadoop job submission

Copy link to this message
Re: understanding hadoop job submission
Yes, the job is submitted by the api calls in map reduce code

On Wed, Apr 25, 2012 at 3:56 AM, Devaraj k <[EMAIL PROTECTED]> wrote:

> Hi Arindam,
>    hadoop jar jarFileName MainClassName
> The above command will not submit the job. This command only executes the
> jar file using the Main Class(Main-class present in manifest info if
> available otherwise class name(i.e MainClassName in the above command)
> passed as an argument. If we give any additional arguments in the command,
> those will be passed to the Main class args.
>   We can have a job submission code in the Main Class or any of the
> classes in the jar file. You can take a look into WordCount example for job
> submission info.
> Thanks
> Devaraj
> ________________________________________
> From: Arindam Choudhury [[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2012 2:14 PM
> To: common-user
> Subject: understanding hadoop job submission
> Hi,
> I am new to hadoop and I am trying to understand hadoop job submission.
> We submit the job using:
> hadoop jar some.jar name input output
> this in turn invoke the RunJar . But in RunJar I can not find any
> JobSubmit() or any call to JobClient.
> Then, how the job gets submitted to the JobTracker?
> -Arindam

Jay Vyas