You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Mona Chitnis (JIRA)" <ji...@apache.org> on 2011/08/04 21:24:27 UTC

[jira] [Created] (OOZIE-8) variable not replaced in workflow rerun

variable not replaced in workflow rerun
---------------------------------------

                 Key: OOZIE-8
                 URL: https://issues.apache.org/jira/browse/OOZIE-8
             Project: Apache Oozie (Incubating)
          Issue Type: Bug
            Reporter: Mona Chitnis


job.properties:
hdfsDir=/user/strat_ci/yoozie_test
inputDir=${hdfsDir}/input-data
outputDir=${hdfsDir}/output-demo
queueName=grideng

in the original run, the Action Configuration replaces the variable:
  <configuration>
    <property>
      <name>mapred.input.dir</name>
      <value>/user/strat_ci/yoozie_test/output-demo/mapred_1</value>
    </property>
    <property>
      <name>mapred.output.dir</name>
      <value>/user/strat_ci/yoozie_test/output-demo/streaming</value>
    </property>
    <property>
      <name>mapred.job.queue.name</name>
      <value>grideng</value>
    </property>

in rerun, the Action Configuration does not replace variable, therefore the action fails with error code JA018:
  <configuration>
    <property>
      <name>mapred.input.dir</name>
      <value>${hdfsDir}/output-demo/mapred_1</value>
    </property>
    <property>
      <name>mapred.output.dir</name>
      <value>${hdfsDir}/output-demo/streaming</value>
    </property>
    <property>
      <name>mapred.job.queue.name</name>
      <value>grideng</value>
    </property>



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-8) variable not replaced in workflow rerun

Posted by "Mona Chitnis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mona Chitnis updated OOZIE-8:
-----------------------------

    Attachment: OOZIE-8.patch

simple fix to the configuration resolution

> variable not replaced in workflow rerun
> ---------------------------------------
>
>                 Key: OOZIE-8
>                 URL: https://issues.apache.org/jira/browse/OOZIE-8
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Mona Chitnis
>              Labels: oozie, rerun
>         Attachments: OOZIE-8.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> job.properties:
> hdfsDir=/user/strat_ci/yoozie_test
> inputDir=${hdfsDir}/input-data
> outputDir=${hdfsDir}/output-demo
> queueName=grideng
> in the original run, the Action Configuration replaces the variable:
>   <configuration>
>     <property>
>       <name>mapred.input.dir</name>
>       <value>/user/strat_ci/yoozie_test/output-demo/mapred_1</value>
>     </property>
>     <property>
>       <name>mapred.output.dir</name>
>       <value>/user/strat_ci/yoozie_test/output-demo/streaming</value>
>     </property>
>     <property>
>       <name>mapred.job.queue.name</name>
>       <value>grideng</value>
>     </property>
> in rerun, the Action Configuration does not replace variable, therefore the action fails with error code JA018:
>   <configuration>
>     <property>
>       <name>mapred.input.dir</name>
>       <value>${hdfsDir}/output-demo/mapred_1</value>
>     </property>
>     <property>
>       <name>mapred.output.dir</name>
>       <value>${hdfsDir}/output-demo/streaming</value>
>     </property>
>     <property>
>       <name>mapred.job.queue.name</name>
>       <value>grideng</value>
>     </property>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira