michelle chiang created OOZIE-1046: -------------------------------------- Summary: bundle xml coord app name overwrite coord xml app name Key: OOZIE-1046 URL: https://issues.apache.org/jira/browse/OOZIE-1046 Project: Oozie Issue Type: Improvement Components: bundle Affects Versions: 3.3.0 Reporter: michelle chiang Priority: Minor
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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira