You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/03/03 03:35:07 UTC

[jira] [Resolved] (OOZIE-1046) bundle xml coord name overwrite coord xml app name

     [ https://issues.apache.org/jira/browse/OOZIE-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Kanter resolved OOZIE-1046.
----------------------------------
    Resolution: Duplicate

> bundle xml coord 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 was sent by Atlassian JIRA
(v6.3.4#6332)