You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Satish Subhashrao Saley (JIRA)" <ji...@apache.org> on 2016/01/22 23:53:40 UTC

[jira] [Created] (OOZIE-2444) Need conditional logic in bundles

Satish Subhashrao Saley created OOZIE-2444:
----------------------------------------------

             Summary: Need conditional logic in bundles
                 Key: OOZIE-2444
                 URL: https://issues.apache.org/jira/browse/OOZIE-2444
             Project: Oozie
          Issue Type: Bug
            Reporter: Satish Subhashrao Saley
            Assignee: Satish Subhashrao Saley
            Priority: Minor


Sometimes, the users have a semi-complicated pipeline that needs to run in slightly different ways depending on whether they are running against live data, reprocessing recent data, or reprocessing historical data from another cluster. Instead of having to create multiple different bundles to capture these various cases, it would be good to have some sort of conditional logic in the bundle XML file that users can use to enable or disable specific coordinators within the bundle based on the properties passed in. That way, we can control, either from the properties file or from oozie command line options, the coordinators that get run and the mode that overall pipeline is processing in.

Ideally, this would be supported by extending the <coordinator> tag with a new "enabled" attribute that takes a boolean expression and supports standard expression syntax and functions.



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