You cannot dynamically add jobs. You will have to implement a new example and modify ExampleDriver.java to also include the new example and recompile.
+Vinod On Jun 26, 2014, at 3:23 AM, John Hancock <jhancock1...@gmail.com> wrote: > I would like to re-use the framework for example programs in > hadoop-2.2.0-src/hadoop-mapreduce-project/hadoop-mapreduce-examples. > > I can use yarn jar > hadoop-mapreduce-examples/target/hadoop-mapreduce-examples-2.2.0.jar and get > a list of map/reduce programs I can run - is there a document that describes > how to add a job to this jar? > > -John -- CONFIDENTIALITY NOTICE 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.