Hadoop - Oozie : check if existing oozie workflow is running -


i have oozie co-ordinator jobs run @ 11:00am, 12:30pm,4:00pm, 7:00pm , 9:30pm. workflow these co-ordiinator jobs same run @ different times without specific frequency. if frequency same have done 1 co-ordinator job.

my question how know co-ordinator job still running , make other co-ordinator job wait/sleep untill existing 1 running? can through oozie or need write seperate oozie api/javascript or shell script check it?

thanks, asmath.

you synchronize execution of workflows in different coordinators making use of <input-events> tag of coordinator.

for example create directory like

/some/hdfs/dir/coorda-status/success-2016-01-26  

at end of every successful run of workflow run coordinator a.

then make existence of directory condition coordinator b run via <dataset> , <input-events> tags.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -