You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Jane Chen <Ja...@marklogic.com> on 2017/04/11 04:43:18 UTC

Kill job gracefully?

Using Apache Hadoop 2.6.  I’m looking for a way to gracefully abort a Hadoop job so that the proper cleanups, such as RecordReader.close and RecordWriter.close are still called.  I found if I use job.killJob(), the tasks are all terminated without the cleanups.

Thanks in advance for any advice on this.