You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Bowen Zhang (JIRA)" <ji...@apache.org> on 2013/10/25 21:00:30 UTC

[jira] [Updated] (OOZIE-1580) EL variables don't get resolved in configurations imported from a

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

Bowen Zhang updated OOZIE-1580:
-------------------------------

    Attachment: oozie-1580.patch

> EL variables don't get resolved in configurations imported from a <job-xml>
> ---------------------------------------------------------------------------
>
>                 Key: OOZIE-1580
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1580
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Robert Kanter
>            Assignee: Bowen Zhang
>         Attachments: oozie-1580.patch
>
>
> If you use <job-xml> to include a file that includes an EL variable, it doesn't get resolved.
> For example:
> {code:xml|title=foo.xml|borderStyle=solid}
> <configuration>
>    <property>
>       <name>some.property</name>
>       <value>${someVariable}</value>
>    </property>
> </configuration>
> {code}
> {code:title=job.propertiesl|borderStyle=solid}
> ...
> someVariable=bar
> {code}
> Then in the submitted job, {{some.property}} will be equal to "{{$\{someVariable}}}" when we would like it to be "{{bar}}".



--
This message was sent by Atlassian JIRA
(v6.1#6144)