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 19:01:20 UTC

[jira] [Created] (OOZIE-2610) oozie does not do variable expansion of property in core-site

Dilli Dorai Minnal Arumugam created OOZIE-2610:
--------------------------------------------------

             Summary: 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.override} 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.override</name>
      <value>webhdfs://c6401.ambari.apache.org:40070</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 in oozie.log

/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)