I'm wondering if there is any way to stop a reduce task via the code.
I mean I would like to create a mad/reduce task to select some line from a file (via a map)and get the first 1000 elements (via a reduce). When i get the size of 1000 I would like to stop/exit the reduce task to avoid continuing reducing until the end of the files lines. is there any way ?
