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

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

Here is what we can do. This should work for everybody:
1. Coord action re-run takes an addition optional flag -failed which re-runs 
only the failed nodes. This will re-run the existing workflow with 
RERUN_FAIL_NODES=true. But this will also honour coord concurrency.
2. Coord action re-run with no -failed option will use the existing feature of 
launching new workflow.
3. If a workflow has sub-workflow and some actions in the sub-workflow has 
failed, currently, workflow re-run with RERUN_FAIL_NODES=true will launch new 
sub-workflow. Instead, it should re-run only the failed nodes of the 
sub-workflow
4. Disable re-runs using the workflow directly if it has a parent. This applies 
to both cases where parent is coord action/another workflow. This check should 
be controlled using oozie-site config and should be disabled by default for 
backward compatibility

[~rohini], [~puru], [~sriksun], [~jaydeepmail], does this work for your 
usecases? Do you see any issues?

[~jaydeepmail], If everyone is ok with the approach, can you create sub-task 
for each of these and work on them separately? Thanks

> 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
>            Assignee: Jaydeep Vishwakarma
>
> 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.3.4#6332)

Reply via email to