MapReduce AppMaster and YARN at large use asynchronous event handling inside the JVM and so you may run into race conditions like this.

Even otherwise, doing this in a deterministic manner is better achieved by overriding your OutputCommitter. Job output commit/abort happens only once.


On Jan 28, 2014, at 7:06 PM, Rohith Sharma K S <[EMAIL PROTECTED]> wrote:

NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB