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

bundle xml coord name overwrite coord xml app name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.3.0
    • None
    • bundle
    • None

    Description

      enhancement requests:

      from OOZIE-637, app name can be parameterized. but the coord name cannot use variable inside bundle.xml.

      (1)
      when use a variable, it gives error at client side.

      <bundle-app name="${bundleappname}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="uri:oozie:bundle:0.2">
      <coordinator name="${coordappname}">
      <!-- <coordinator name="COORD1"> -->
      <app-path>${coord_app_path}</app-path>

      Error: E0701 : E0701: XML schema error, cvc-pattern-valid: Value '${coordappname}' is not facet-valid with respect to pattern '([a-zA-Z]([\-_a-zA-Z0-9])*)

      {1,39}

      ' for type 'IDENTIFIER'.

      (2)
      specify coordinator name as a constant string in bundle.xml. the coordinator name specified in bundle.xml overwrites the coordinator app name of ${coord_app_path}. that is, getCoordJobInfo(cjid).getAppName() shows the constant string from bundle, not the parameterized coord app name.

      in order to support full parameterized app name, the coordinator name in bundle.xml should be able to use a variable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mchiang_4work@yahoo.com Michelle Chiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: