[ 
https://issues.apache.org/jira/browse/OOZIE-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627899#comment-13627899
 ] 

Alejandro Abdelnur commented on OOZIE-1305:
-------------------------------------------

you are right, timeout cannot be used to avoid recovering actions after 
downtime, it just avoid recovering actions that timed out.

Back to the problem you are trying to solve, currently Oozie does not keep 
track of its downtime, nor does special logic at startup.

It seems you'd need to keep track of Oozie running time, something like a 
heartbeat entry in the DB, once a minute. When Oozie starts ups, it can 
determine how long it has been down. This could be used to do some 'start up' 
logic like the one you have in mind. Does this make sense?
                
> coordinator job should have an option to recover none of actions after 
> downtime
> -------------------------------------------------------------------------------
>
>                 Key: OOZIE-1305
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1305
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Bowen Zhang
>
> after oozie server is back up after some down time, coordinator job should 
> have the option of recovering no actions. We will add a "NONE" option in 
> execution strategy of controls section of a coordinator job

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to