In general, you need to use Oozie coordinator to start a workflow based on data availability,.
In your case, one option could be to write two workflows (say) wf_abc.xml with a java action and wf_def.xml with pig action. Then write two coordinator (say) coord_abc.xml that will trigger wf_abc.xml and coord_def.xml that will drive the wf_def.xml. There are other ways too. But this is the most common implementation. Please let us know if that serves your purpose. Regards, Mohammad On Thursday, May 1, 2014 10:45 PM, siva kumar <[email protected]> wrote: hi, Im working on oozie in HUE . Is it possible to trigger a particular job based on a particular input event ? for example : If a input file , abc.txt is dropped into hdfs, a java job should run and if a input file, def.txt is dropped into hdfs , a pig job should run . Can anyone suggest me whether we can acheive this in HUE ? Thanks sivakumar
