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.
Arun Sent from my iPhone On Sep 30, 2011, at 8:39 PM, Praveen Sripati <praveensrip...@gmail.com> wrote: Hi, 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. Thanks, Praveen