AMBARI-21583. Hive server configurations not applied to all the nodes for HS2 HA deployment. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fd8f801b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fd8f801b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fd8f801b Branch: refs/heads/branch-2.6 Commit: fd8f801b1820f3fd0b2887322bec97c828118c9a Parents: 84317d9 Author: Siddharth Wagle <swa...@hortonworks.com> Authored: Wed Jul 26 15:42:10 2017 -0700 Committer: Siddharth Wagle <swa...@hortonworks.com> Committed: Wed Jul 26 15:43:21 2017 -0700 ---------------------------------------------------------------------- .../HIVE/0.12.0.2.0/package/scripts/params_linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/fd8f801b/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 b2bc34a..65ba140 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 @@ -399,7 +399,7 @@ hive_conf_dirs_list = [hive_client_conf_dir] ranger_hive_component = status_params.SERVER_ROLE_DIRECTORY_MAP['HIVE_SERVER'] if status_params.role == "HIVE_METASTORE" and hive_metastore_hosts is not None and hostname in hive_metastore_hosts: hive_conf_dirs_list.append(hive_server_conf_dir) -elif status_params.role == "HIVE_SERVER" and hive_server_hosts is not None and hostname in hive_server_host: +elif status_params.role == "HIVE_SERVER" and hive_server_hosts is not None and hostname in hive_server_hosts: hive_conf_dirs_list.append(hive_server_conf_dir) elif status_params.role == "HIVE_SERVER_INTERACTIVE" and hive_server_interactive_hosts is not None and hostname in hive_server_interactive_hosts: hive_conf_dirs_list.append(status_params.hive_server_interactive_conf_dir)