Re: How to abort a job in a map task

2011-04-07 Thread David Rosenstrauch
On 04/06/2011 08:40 PM, Haruyasu Ueda wrote: 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

Re: How to abort a job in a map task

2011-04-06 Thread Mehmet Tepedelenlioglu
It might be better to keep a counter of bad data and terminate regularly. I would be hesitant to shoot down the mother-ship. Mehmet On Apr 6, 2011, at 5:40 PM, Haruyasu Ueda wrote: > Hi all, > > I'm writing M/R java program. > > I want to abort a job itself in a map task, when the map task fou

How to abort a job in a map task

2011-04-06 Thread Haruyasu Ueda
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,