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

Purshotam Shah commented on OOZIE-2390:
---------------------------------------

{quote}
Purshotam Shah ,Oozie removes the output directory by default, As default value 
of -nocleanup is false. So either you give the -nocleanup=false or do not 
provide that option both are same. By this approach impossible to understand 
what user wants.
Yes, when we have intermediate output from any workflow action we will expect 
failures. I think we should introduce another flag -failedwithcleanup on rerun. 
What is your thought on it?
{quote}

We can support -nocleanup  with param ( true/false).  For backward compatibly 
we can also support only -nocleanup ( which means -nocleanup=true).
For failed, we can have default as true and for other cases default can be 
false.

> Rerun with failed option removing completed output data
> -------------------------------------------------------
>
>                 Key: OOZIE-2390
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2390
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Jaydeep Vishwakarma
>            Assignee: Jaydeep Vishwakarma
>            Priority: Critical
>         Attachments: OOZIE-2390.patch
>
>
> Rerun with failed option is used to run workflow from failed node. During the 
> time of rerun cleanup operation is removing the output directories which is 
> incorrect.



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

Reply via email to