Hey Kasi, Sounds like you can benefit quite a bit if you use the Apache Oozie (Incubating) project to build job workflows (which also supports doing your required operations and much more). Check it out at http://incubator.apache.org/oozie/ and hopefully it helps you quit reinventing some wheels.
On Thu, Apr 26, 2012 at 4:44 PM, kasi subrahmanyam <kasisubbu...@gmail.com> wrote: > Hi > > I have few jobs added to a Job controller . > I need a afterJob() to be executed after the completion of s Job. > For example > > Here i am actually overriding the Job of JobControl. > I have Job2 depending on the output of Job1.This input for Job2is obtained > after doing some File System operations on the output of the Job1.This > operation should happen in a afterJob( ) method while is available for each > Job.How do i make sure that afterJob () method is called for each Job added > to the controller before running the jobs that are depending on it. > > > Thanks -- Harsh J