[
https://issues.apache.org/jira/browse/OOZIE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163321#comment-13163321
]
[email protected] commented on OOZIE-8:
---------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2997/
-----------------------------------------------------------
(Updated 2011-12-06 03:39:57.490948)
Review request for oozie, Mohammad Islam and Angelo K. Huang.
Changes
-------
Incorporated review feedback. Added separate test resource to test
functionality.
Summary (updated)
-------
In workflow rerun, parametrized variables were not getting replaced with values
in the action configuration, causing a JA018 error. Therefore it is 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 (updated)
-----
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
trunk/core/src/test/resources/rerun-varsub-wf.xml PRE-CREATION
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