[ 
https://issues.apache.org/jira/browse/AMBARI-7354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172761#comment-14172761
 ] 

jun aoki commented on AMBARI-7354:
----------------------------------

[~jaimin], thank you for sharing your insightful thought.


Here is what I'd like to do 
# Commit the patch to trunk 
# Commit the patch to the release branch
# Create another jira with following context
## site_propertie.js files under /ambari-web/app/data/[HDP/BIGTOP] should move 
to ambari-server/src/main/resources/stacks in order for each stack (and each 
vendor) to have a full control of what the stack looks like.
## There should be the top level site_properties.js (called predefined?) here 
ambari-server/src/main/resources/stacks
## and stack and version specific site_properties.js under 
ambari-server/src/main/resources/stacks/{STACK}/{VERSION}
## Thus, no site_properties.js resides under ambari-web. 

Free free to correct me as I don't have much of background context on this.

> 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
>            Assignee: Rodrigo Meneses
>             Fix For: 1.7.0, 2.0.0
>
>         Attachments: AMBR-151.diff.trunk.patch
>
>
> 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)

Reply via email to