You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Dilli Dorai Minnal Arumugam (JIRA)" <ji...@apache.org> on 2016/07/19 22:04:20 UTC
[jira] [Commented] (OOZIE-2610) oozie does not do variable
expansion of property in core-site
[ https://issues.apache.org/jira/browse/OOZIE-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15384959#comment-15384959 ]
Dilli Dorai Minnal Arumugam commented on OOZIE-2610:
----------------------------------------------------
This problem is observed in Ambari managed Oozie.
It is likely the jira really applies to Ambari rather than Oozie.
> 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)