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 196A8200C06 for ; Fri, 27 Jan 2017 20:18:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 181BF160B5B; Fri, 27 Jan 2017 19:18:42 +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 5F49E160B40 for ; Fri, 27 Jan 2017 20:18:41 +0100 (CET) Received: (qmail 52276 invoked by uid 500); 27 Jan 2017 19:18:40 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 52267 invoked by uid 99); 27 Jan 2017 19:18:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2017 19:18:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5D676DFC15; Fri, 27 Jan 2017 19:18:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: swapan@apache.org To: commits@ambari.apache.org Message-Id: <2b371a2eba854b6faa74c7a19fecf720@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-19663. LLAP metrics collector host gets wrongly updated. (prasanthj via Swapan Shridhar). Date: Fri, 27 Jan 2017 19:18:40 +0000 (UTC) archived-at: Fri, 27 Jan 2017 19:18:42 -0000 Repository: ambari Updated Branches: refs/heads/trunk 6d02a7a5b -> 23522a281 AMBARI-19663. LLAP metrics collector host gets wrongly updated. (prasanthj via Swapan Shridhar). Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/23522a28 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/23522a28 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/23522a28 Branch: refs/heads/trunk Commit: 23522a28126bbb1216bb1b556fce1d24a7262d26 Parents: 6d02a7a Author: Swapan Shridhar Authored: Fri Jan 27 11:16:03 2017 -0800 Committer: Swapan Shridhar Committed: Fri Jan 27 11:18:30 2017 -0800 ---------------------------------------------------------------------- .../HIVE/0.12.0.2.0/package/scripts/params_linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/23522a28/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py index 997975e..4907f93 100644 --- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py +++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py @@ -513,7 +513,7 @@ hive_site_config = dict(config['configurations']['hive-site']) ######################################################## ############# AMS related params ##################### ######################################################## -ams_collector_hosts = default("/clusterHostInfo/metrics_collector_hosts", []) +ams_collector_hosts = ",".join(default("/clusterHostInfo/metrics_collector_hosts", [])) has_metric_collector = not len(ams_collector_hosts) == 0 if has_metric_collector: if 'cluster-env' in config['configurations'] and \ @@ -785,4 +785,4 @@ if enable_ranger_hive: if has_ranger_admin and stack_supports_ranger_audit_db and xa_audit_db_flavor.lower() == 'sqla': xa_audit_db_is_enabled = False -# ranger hive plugin section end \ No newline at end of file +# ranger hive plugin section end