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 DA76B171DF for ; Tue, 14 Oct 2014 01:26:34 +0000 (UTC) Received: (qmail 35319 invoked by uid 500); 14 Oct 2014 01:26:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 35290 invoked by uid 500); 14 Oct 2014 01:26: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 34945 invoked by uid 99); 14 Oct 2014 01:26:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 01:26:34 +0000 Date: Tue, 14 Oct 2014 01:26:34 +0000 (UTC) From: "jun aoki (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 ] jun aoki updated AMBARI-7354: ----------------------------- Fix Version/s: 2.0.0 1.7.0 > 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)