Re: Start MapReduce job with jar and arguments programatically

2016-05-04 Thread Siddhisanket Raskar
Hi, Why not write simple bash script for this. I understand, this not exactly the answer for your question but unless you have to use java code, its not bad option. Regards, S ​id​ Raskar. On Wed, Apr 27, 2016 at 6:29 AM, Ashutosh Kumar wrote: > > http://www.drdobbs.com/database/hadoop-writin

Re: Start MapReduce job with jar and arguments programatically

2016-04-27 Thread Ashutosh Kumar
http://www.drdobbs.com/database/hadoop-writing-and-running-your-first-pr/240153197?pgno=2

Start MapReduce job with jar and arguments programatically

2016-04-27 Thread Daniel Klinger
Hi, i know i can start hadoop jobs like this: hadoop jar myJob.jar org.foo.bar.MainClass --arg1 foo --arg2 bar Now I would like to do this by JAVA-Code. My App is running within the cluster and is started including the whole Hadoop-classpath. How can I start the job by jar (found someth