Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A5B59200B6D for ; Tue, 23 Aug 2016 22:03:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 76DC1160AAD; Tue, 23 Aug 2016 20:03:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B765D160ABF for ; Tue, 23 Aug 2016 22:03:26 +0200 (CEST) Received: (qmail 64902 invoked by uid 500); 23 Aug 2016 20:03:20 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 64731 invoked by uid 99); 23 Aug 2016 20:03:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 20:03:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 848692C0156 for ; Tue, 23 Aug 2016 20:03:20 +0000 (UTC) Date: Tue, 23 Aug 2016 20:03:20 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18242) Move service metadata into stack's service version folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 20:03:37 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Fernandez updated AMBARI-18242: ----------------------------------------- Affects Version/s: 2.4.0 > Move service metadata into stack's service version folder > --------------------------------------------------------- > > Key: AMBARI-18242 > URL: https://issues.apache.org/jira/browse/AMBARI-18242 > Project: Ambari > Issue Type: Epic > Affects Versions: 2.4.0 > Reporter: Alejandro Fernandez > Fix For: trunk > > > Today, there's a lot of hardcodings and metadata that belongs inside the stack for a particular service and version. > Instead, this logic is in > 1. python files in common-services > 2. Config Packs > 3. Upgrade Packs > 4. Stack Advisor > Details > 1. > ambari/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py > {code} > _PACKAGE_DIRS = { > "accumulo": [ > { > "conf_dir": "/etc/accumulo/conf", > "current_dir": "{0}/current/accumulo-client/conf".format(STACK_ROOT_PATTERN) > } > ], > "falcon": [ > { > "conf_dir": "/etc/falcon/conf", > "current_dir": "{0}/current/falcon-client/conf".format(STACK_ROOT_PATTERN) > } > ], > {code} > 2. Any config-upgrade.xml > E.g., > ambari/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml > {code} > > > > > > hive-site > hive.server2.thrift.port > 10010 > > > hive-site > hive.server2.http.port > 10011 > > > > > hive-site > hive.server2.thrift.port > 10000 > > > hive-site > hive.server2.http.port > 10001 > > > > > > {code} > 3. Any upgrade pack > E.g., ambari/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml > {code} > > > > > > > > > > > > > > > > > > > > > > > > > > {code} > Plus, any of the Java classes that can be called as PreChecks > 4. Stack Advisor functions > {code} > def validateAtlasConfigurations() > def recommendFalconConfigurations() > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)