[
https://issues.apache.org/jira/browse/OOZIE-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386318#comment-15386318
]
Dilli Dorai Minnal Arumugam commented on OOZIE-2610:
----------------------------------------------------
Thanks Abishek.
This happens when we restart oozie through Ambari.
Looks like Ambari is taking the literal property value from core-site.xml
without variable expansion and passing int on commandline to
/usr/hdp/current/oozie-server/bin/oozie-setup.sh command.
I am tending to think this is more of ambari-server problem than oozie problem.
Would appreciate your evaluation and confirmation.
Thanks
> oozie does not do variable expansion of property in core-site
> -------------------------------------------------------------
>
> Key: OOZIE-2610
> URL: https://issues.apache.org/jira/browse/OOZIE-2610
> Project: Oozie
> Issue Type: Bug
> Components: core
> Affects Versions: 4.2.0
> Reporter: Dilli Dorai Minnal Arumugam
>
> We are using value of ${fs.defaultFS.native} for property in core-site.xml
> Relevant snippet in /etc/hadoop/conf/core-site.xml looks like the following:
> <property>
> <name>fs.defaultFS</name>
> <value>${fs.defaultFS.native}</value>
> </property>
> <property>
> <name>fs.defaultFS.native</name>
> <value>hdfs://c6401.ambari.apache.org:8020</value>
> </property>
> With these settings in /etc/hadoop/conf/core-site.xml, all the services
> except oozie start fine.
> oozie fails to start with the following message
> /usr/hdp/current/oozie-server/bin/oozie-setup.sh sharelib create -fs
> ${fs.defaultFS.native} -locallib /usr/hdp/current/oozie-server/share'
> returned 1. -bash: ${fs.defaultFS.native}: bad substitution
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)