|
|
-
submit multiple jobs simultaneously
Gang Luo 2010-05-12, 15:00
Hi, when we call JobClient.runJob(jobConf) to submit a job, will the program block until that job finishes? How to submit multiple job simultaneously? Multithreading?
thanks, -Gang
-
RE: submit multiple jobs simultaneously
Oded Rotem 2010-05-12, 15:06
Run JobClient.submitJob instead of runJob.
-----Original Message----- From: Gang Luo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 12, 2010 6:00 PM To: [EMAIL PROTECTED] Subject: submit multiple jobs simultaneously
Hi, when we call JobClient.runJob(jobConf) to submit a job, will the program block until that job finishes? How to submit multiple job simultaneously? Multithreading?
thanks, -Gang
-
Re: submit multiple jobs simultaneously
Gang Luo 2010-05-12, 15:43
Thanks Oded, it works. But there is not output showing the consumed time, counters, etc. How can I get those information?
thanks, -Gang ----- 原始邮件 ---- 发件人: Oded Rotem <[EMAIL PROTECTED]> 收件人: [EMAIL PROTECTED] 发送日期: 2010/5/12 (周三) 11:06:55 上午 主 题: RE: submit multiple jobs simultaneously
Run JobClient.submitJob instead of runJob.
-----Original Message----- From: Gang Luo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 12, 2010 6:00 PM To: [EMAIL PROTECTED] Subject: submit multiple jobs simultaneously
Hi, when we call JobClient.runJob(jobConf) to submit a job, will the program block until that job finishes? How to submit multiple job simultaneously? Multithreading?
thanks, -Gang
-
Re: submit multiple jobs simultaneously
Jeff Zhang 2010-05-12, 15:46
The returned object of JobClient.submitJob(JobConf job) is RunningJob. You can get the job status through this object.
2010/5/12 Gang Luo <[EMAIL PROTECTED]>: > Thanks Oded, it works. But there is not output showing the consumed time, counters, etc. How can I get those information? > > thanks, > -Gang > > > > > ----- 原始邮件 ---- > 发件人: Oded Rotem <[EMAIL PROTECTED]> > 收件人: [EMAIL PROTECTED] > 发送日期: 2010/5/12 (周��) 11:06:55 上午 > 主 题: RE: submit multiple jobs simultaneously > > Run JobClient.submitJob instead of runJob. > > -----Original Message----- > From: Gang Luo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 12, 2010 6:00 PM > To: [EMAIL PROTECTED] > Subject: submit multiple jobs simultaneously > > Hi, > when we call JobClient.runJob(jobConf) to submit a job, will the program block until that job finishes? How to submit multiple job simultaneously? Multithreading? > > thanks, > -Gang > > > >
-- Best Regards
Jeff Zhang
|
|