[ 
https://issues.apache.org/jira/browse/OOZIE-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807298#comment-13807298
 ] 

Robert Kanter commented on OOZIE-1580:
--------------------------------------

It's just the contents of the {{<configuration>}} section from the example:
{code:xml}
<configuration>
    <property>
        <name>mapred.job.queue.name</name>
        <value>${queueName}</value>
    </property>
    <property>
        <name>mapred.mapper.class</name>
        <value>org.apache.oozie.example.SampleMapper</value>
    </property>
    <property>
        <name>mapred.reducer.class</name>
        <value>org.apache.oozie.example.SampleReducer</value>
    </property>
    <property>
        <name>mapred.map.tasks</name>
        <value>1</value>
    </property>
    <property>
        <name>mapred.input.dir</name>
        <value>/user/${wf:user()}/${examplesRoot}/input-data/text</value>
    </property>
    <property>
        <name>mapred.output.dir</name>
        
<value>/user/${wf:user()}/${examplesRoot}/output-data/${outputDir}</value>
    </property>
</configuration>
{code}

> 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)

Reply via email to