You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Sahana Bhat <sa...@gmail.com> on 2011/09/13 12:32:52 UTC

setup and cleanup methods in MapReduce API

Hi,

          In the new MapReduce API's in Hadoop 0.20.2 version, the methods
setup( ) and cleanup( ) are run ONCE at the beginning and at the end of a
task.
How is this functionality provided in the older MapReduce API's in the
0.20.2 version of Hadoop.Can functionality similar to setup( ) be
implemented in configure( )?

Also, what is the use of the OutputCommitter.java class, could someone
please provide an example of its usage for better understanding.

Thanks in advance,
Sahana