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

Shwetha G S commented on OOZIE-1536:
------------------------------------

{quote}
Rerunning a coord action start from CoordActionInputCheck, and this is 
important because user can modify coord definitions/properties on fly and rerun 
coord action with new definitions.
{quote}
CoordActionInputCheck and further commands on coord action pick the coord xml 
from COORD_ACTIONS table, but coord update updates COORD_JOBS table. This means 
coord update is effective for the new actions to be materialised and not the 
already materialised ones. The re-runs that we are talking about are on the 
already completed actions which means they are already materialised and there 
is no way of changing the definition of these by coord update. Isn't it?

With coord action re-run, CoordActionInputCheck can run as is and update the 
action_xml in COORD_ACTIONS table. CoordActionStartXCommand instead of starting 
new workflow all the time, can re-run the existing workflow by overriding input 
properties (which might have changed because of new input resolution for latest 
etc)

{quote}
We can't rerun a coord action if it's in running state. Are you taking about 
sub-workflow?
{quote}
Earlier, when workflow state changed, the corresponding coord action status 
change was queued. So, there was delay in propagating the status. So, there 
were instances when workflow was in running state, but coord action in killed 
state(because of wf re-run). So, coord action re-run in this case would launch 
another workflow

> Coordinator action reruns start a new workflow
> ----------------------------------------------
>
>                 Key: OOZIE-1536
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1536
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Srikanth Sundarrajan
>
> Coordinator action reruns start a new workflow and if existing workflow for 
> the action is in running state, the same is not checked. Coord rerun can 
> possibly do a workflow re-run to prevent this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to