Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-637

parametrization of 'name' attribute in workflow/coordinator/bundle

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0, 3.3.0
    • 3.3.0
    • bundle, coordinator, workflow
    • None

    Description

      Currently user can't parametrize the name attribute of workflow or bundle.
      As a result, user needs to write a lot of xml with different names where content is same.

      Reason: Oozie does not support variable replacement for name and frequency.
      (<workflow-app xmlns="uri:oozie:workflow:0.2" name="${name}">
      But it supports substitutions for other parameters such as timezone, start and end.

      It gives an XML schema error, cvc-pattern-valid: Value '${name}' is not a facet-valid with respect to pattern....

      If this replacement is allowed we could get this name from the .properties file instead of hardcoding the app name in
      the xml.

      Attachments

        1. OOZIE-637.patch
          19 kB
          Alejandro Abdelnur
        2. OOZIE-637.patch
          19 kB
          Alejandro Abdelnur

        Issue Links

          Activity

            People

              tucu00 Alejandro Abdelnur
              rmchale Ryan McHale
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: