incubator-oozie-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OOZIE-8) variable not replaced in workflow rerun
Date Fri, 02 Dec 2011 21:09:41 GMT

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

jiraposter@reviews.apache.org commented on OOZIE-8:
---------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2997/
-----------------------------------------------------------

Review request for oozie, Mohammad Islam and Angelo K. Huang.


Summary
-------

In workflow rerun, the variable values defined in job.properties were not getting replaced
in the action configuration, causing a JA018 error. Required to have the action configuration
in the rerun code to update itself with the values corresponding to the keys. 


This addresses bug OOZIE-8.
    https://issues.apache.org/jira/browse/OOZIE-8


Diffs
-----

  trunk/core/src/main/java/org/apache/oozie/command/wf/ReRunXCommand.java 1209673 
  trunk/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java 1209673 

Diff: https://reviews.apache.org/r/2997/diff


Testing
-------

yes


Thanks,

Mona


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message