Repository: ambari Updated Branches: refs/heads/branch-2.5 72cff6c68 -> 3f19ca0c9
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/3f19ca0c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3f19ca0c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3f19ca0c Branch: refs/heads/branch-2.5 Commit: 3f19ca0c9556f8772cb19ae3dea041bcd1f09341 Parents: 72cff6c Author: Swapan Shridhar <[email protected]> Authored: Fri Jan 27 11:16:03 2017 -0800 Committer: Swapan Shridhar <[email protected]> Committed: Fri Jan 27 11:19:54 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/3f19ca0c/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 10bdd45..6d3455c 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 @@ -514,7 +514,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 \ @@ -784,4 +784,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
