ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mug...@apache.org
Subject ambari git commit: AMBARI-18375 Ranger Plugin configs are not generated for Hive interactive (mugdha)
Date Wed, 14 Sep 2016 05:13:09 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 1e21842e3 -> 532b689f3


AMBARI-18375 Ranger Plugin configs are not generated for Hive interactive (mugdha)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/532b689f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/532b689f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/532b689f

Branch: refs/heads/trunk
Commit: 532b689f3158f8c90b9bc69e1d62d3816f3e81b1
Parents: 1e21842
Author: Mugdha Varadkar <mugdha@apache.org>
Authored: Tue Sep 13 16:53:35 2016 +0530
Committer: Mugdha Varadkar <mugdha@apache.org>
Committed: Wed Sep 14 10:41:51 2016 +0530

----------------------------------------------------------------------
 .../0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/532b689f/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py
index 0b5d5db..2cbe952 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive_interactive.py
@@ -53,8 +53,8 @@ def setup_ranger_hive_interactive(upgrade_type = None):
       )
       params.HdfsResource(None, action="execute")
 
-      from resource_management.libraries.functions.setup_ranger_plugin_xml import setup_ranger_plugin
-      setup_ranger_plugin('hive-server2-hive2', 'hive', params.ranger_previous_jdbc_jar,
+    from resource_management.libraries.functions.setup_ranger_plugin_xml import setup_ranger_plugin
+    setup_ranger_plugin('hive-server2-hive2', 'hive', params.ranger_previous_jdbc_jar,
                           params.ranger_downloaded_custom_connector, params.ranger_driver_curl_source,
                           params.ranger_driver_curl_target, params.java64_home,
                           params.repo_name, params.hive_ranger_plugin_repo,
@@ -73,6 +73,5 @@ def setup_ranger_hive_interactive(upgrade_type = None):
                           is_stack_supports_ranger_kerberos = params.stack_supports_ranger_kerberos,
                           component_user_principal=params.hive_principal if params.security_enabled
else None,
                           component_user_keytab=params.hive_server2_keytab if params.security_enabled
else None)
-
   else:
     Logger.info('Ranger admin not installed')


Mime
View raw message