hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haruyasu Ueda <hal_u...@jp.fujitsu.com>
Subject How to abort a job in a map task
Date Thu, 07 Apr 2011 00:40:43 GMT
Hi all,

I'm writing M/R java program.

I want to abort a job itself in a map task, when the map task found
irregular data.

I have two idea to do so.
 1. execulte "bin/hadoop -kill jobID" in map task, from slave machine.
 2. raise an IOException to abort.

I want to know which is better way. 
Or, whether there is  better/recommended programming idiom.

If you have any experience about this, please share your case.

Haruyasu Ueda, Senior Researcher
  Research Center for Cloud Computing
E-mail: hal_ueda@jp.fujitsu.com
Tel: +81 44 754 2575
Ken-S602, 4-1-1, Kamikodanaka, Nakahara-ku, Kawasaki, 211-8588 Japan

View raw message