You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Xiaobo Gu <gu...@gmail.com> on 2011/04/10 06:07:50 UTC

Can we use System.exit() inside custom job class main function?

Hi,

Will it terminate the whole Hadoop JVM ?

Regards,

Xiaobo Gu

Re: Can we use System.exit() inside custom job class main function?

Posted by Harsh J <ha...@cloudera.com>.
Hello,

On Sun, Apr 10, 2011 at 9:37 AM, Xiaobo Gu <gu...@gmail.com> wrote:
> Hi,
>
> Will it terminate the whole Hadoop JVM ?

It would be alright to use System.exit() in the job driver (frontend).
It would only terminate the launcher program JVM, not the submitted
jobs.

-- 
Harsh J