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

pavan kumar kolamuri commented on FALCON-950:
---------------------------------------------

     @Override
     public InstancesResult reRunInstances(Entity entity, Date start, Date end,
-                                          Properties props, List<LifeCycle> 
lifeCycles) throws FalconException {
+                                          Properties props, List<LifeCycle> 
lifeCycles,
+                                          Boolean isForced) throws 
FalconException {
+        if (isForced != null && isForced) {
+            props.put(OozieClient.RERUN_FAIL_NODES, String.valueOf(!isForced));
+        }


This property is also there in oozie workflow engine and we are checking in 
both places and it is confusing . Can you remove from there and handle normal 
rerun also here.

> Rerun does not work on succeeded instances
> ------------------------------------------
>
>                 Key: FALCON-950
>                 URL: https://issues.apache.org/jira/browse/FALCON-950
>             Project: Falcon
>          Issue Type: Bug
>          Components: process
>            Reporter: Pragya Mittal
>            Assignee: Suhas Vasu
>         Attachments: FALCON-950.patch
>
>
> Falcon rerun does not work for succeeded instances. 
> ProcessInstanceRerunTest.testProcessInstanceRerunMultipleSucceeded  and 
> ProcessInstanceRerunTest.testProcessInstanceRerunSingleSucceeded is failing 
> becuase of this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to