My question is how to exit hadoop reducer. Can I just write "return;" in reducer?
Wei -----Original Message----- From: Aman [mailto:aman_d...@hotmail.com] Sent: Fri 12/17/2010 1:24 PM To: hadoop-u...@lucene.apache.org Subject: RE: Please help with hadoop configuration parameter set and get Set the counter in the mapper and in the reducer code, check for this counter. If counter is set then run the reducer if not then exit without doing anything. Once there is no new node is found, I would like to exit mapper or reducer process. For example, if no new nodes are found in the mapper class, the setup of reducer will stop reducer work (or the cleanup of mapper will stop the reducer work). -- View this message in context: http://lucene.472066.n3.nabble.com/Please-help-with-hadoop-configuration-parameter-set-and-get-tp2103303p2107388.html Sent from the Hadoop lucene-users mailing list archive at Nabble.com.