You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2011/09/10 05:25:09 UTC
[jira] [Created] (OOZIE-537) OOZIE-120: coordinator is not resolve
config default variable
OOZIE-120: coordinator is not resolve config default variable
-------------------------------------------------------------
Key: OOZIE-537
URL: https://issues.apache.org/jira/browse/OOZIE-537
Project: Oozie
Issue Type: Bug
Reporter: Angelo K. Huang
Assignee: Angelo K. Huang
the variable in coord-config-default.xml is not replaced as in bundle-config-default.xml or config-default.xml. this test case is derived from http://bug.corp.yahoo.com/show_bug.cgi?id=4591177.
for example, in bundle-config-default.xml, define
<name>coord_app_path</name><value>${oozie.bundle.application.path}/coord-job</value>
then the -configcontent of the bundle job shows:
<name>coord_app_path</name>
<value>hdfs://gsbl90390.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test/coord/test_4591177_1/coord-job</value>
however in coord-config-default.xml, define wf_app_path as:
<name>tempdir</name>
<value>hdfs://gsbl90390.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test/coord/test_4591177_1/coord-job</value>
<name>wf_app_path</name><value>${tempdir}/wf-job</value>
then the -configcontent of the coord job shows:
<name>wf_app_path</name><value>${tempdir}/wf-job</value>
it seems the ${tempdir} is not replaced immediately, and will be replaced at run time.
but, if the variable is set as:
<name>wf_app_path</name><value>${oozie.coord.application.path}/wf-job</value>
the value is not replaced at all.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira