Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2114317B3F for ; Mon, 13 Oct 2014 16:58:34 +0000 (UTC) Received: (qmail 44022 invoked by uid 500); 13 Oct 2014 16:58:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 43986 invoked by uid 500); 13 Oct 2014 16:58:34 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 43974 invoked by uid 99); 13 Oct 2014 16:58:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2014 16:58:33 +0000 Date: Mon, 13 Oct 2014 16:58:33 +0000 (UTC) From: "Rodrigo Meneses (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-7354) Allow different stack have different predefined site properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-7354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rodrigo Meneses updated AMBARI-7354: ------------------------------------ Attachment: AMBR-151.diff.trunk.patch [~jaoki] [~rvs] > 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 > 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)