(Hadoop) MapReduce - Chain jobs - JobControl doesn't stop

前端 未结 4 1168
情深已故
情深已故 2020-12-29 13:40

I need to chain two MapReduce jobs. I used JobControl to set job2 as dependent of job1. It works, output files are created!! But it doesn\'t stop! In the shell it remains in

4条回答
  •  梦毁少年i
    2020-12-29 14:04

    The JobControl object itself is Runnable, so you can just use it like this:

    new Thread(myJobControlInstance).start()
    

提交回复
热议问题