hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Murthy <...@hortonworks.com>
Subject Re: How to stop a MR Job when a certain condition is met?
Date Sat, 01 Oct 2011 03:47:43 GMT
Not sure what you are trying, or if MR is the right tool...

Anyway, the basic idea is to write a map-only job with a custom RecordReader
to stop emitting inputs to your map when the mapper/recordreader finds the
needle in the haystack.


Sent from my iPhone

On Sep 30, 2011, at 8:39 PM, Praveen Sripati <praveensripati@gmail.com>


Is there a way to stop an entire job when a certain condition is met in the
map/reduce function? Like looking for a particular key or value.


View raw message