hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos M Rubinelli <marc...@buscape-inc.com>
Subject Re: program api to run jar file instead of using shell
Date Mon, 23 May 2011 13:34:31 GMT

You can call RunJar.main ( 
) and pass the command-line arguments, which is essentially what happens 
when you invoke "hadoop jar". If you intend to submit mapreduce jobs, 
you should probably take a look at 
and (if you are using the older mapred API) 

In 22-05-2011 15:25, Lạc Trung wrote:
> I want to program an api (java )  to run the file jar instead of using
> shell. Can anyone tell me a way to do this ?
> Thanks so much !
Good luck,

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