سؤال

I have a question. can I execute two or more jobs in hadoop concurrently with JobCntrol? I have 2 jobs that can be execute in parallel and other jobs have dependencies with these two jobs? How can I do that with JobControl? when I use it, it gives the error: java.lang.IllegalStateException: Job in state RUNNING instead of DEFINE

هل كانت مفيدة؟

المحلول

There is no need for a JobControl when you want to execute the jobs in parallel. Just submit the jobs using JobClient.runJob() API. JobControl is used when there is a simple DAG of jobs.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top