ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingjiang Shi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7354) Allow different stack have different predefined site properties
Date Wed, 17 Sep 2014 08:05:35 GMT
Mingjiang Shi created AMBARI-7354:
-------------------------------------

             Summary: Allow different stack have different predefined site properties
                 Key: AMBARI-7354
                 URL: https://issues.apache.org/jira/browse/AMBARI-7354
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-web
    Affects Versions: 1.7.0
            Reporter: Mingjiang Shi


Ambari right now supports different site_properties for Hadoop2Stack and nonHadoopStack, see
code below:
{code}
  preDefinedSiteProperties: function () {
    if (App.get('isHadoop2Stack')) {
      return require('data/HDP2/site_properties').configProperties;
    }
    return require('data/site_properties').configProperties;
  }.property('App.isHadoop2Stack'),
{code}

In some case, different stacks and different stack version may require different site_property,
like the PHD stack may use "New PostgreSQL Database" for hive metastore while HDP uses "New
MySQL Database". Therefore, Ambari should allow different stack has different site properties
file. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message