You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by js...@apache.org on 2015/07/08 19:51:47 UTC

ambari git commit: AMBARI-12332. Fix atlas related property names in Hive stack params script

Repository: ambari
Updated Branches:
  refs/heads/trunk 2275ae839 -> 8a31b1043


AMBARI-12332. Fix atlas related property names in Hive stack params script


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

Branch: refs/heads/trunk
Commit: 8a31b1043e9c5bae78b2171937d7a25a1a9bfa37
Parents: 2275ae8
Author: Jon Maron <jm...@hortonworks.com>
Authored: Wed Jul 8 13:49:29 2015 -0400
Committer: John Speidel <js...@hortonworks.com>
Committed: Wed Jul 8 13:51:43 2015 -0400

----------------------------------------------------------------------
 .../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/8a31b104/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 bee455f..3f6532c 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
@@ -377,7 +377,7 @@ if not has_atlas:
   hive_exclude_packages.append(atlas_plugin_package)
 else:
   # hive-site
-  hive_site_config['hive.cluster.name'] = config['clusterName']
+  hive_site_config['atlas.cluster.name'] = config['clusterName']
   atlas_config = config['configurations']['application-properties']
   metadata_port = config['configurations']['atlas-env']['metadata_port']
   metadata_host = atlas_hosts[0]
@@ -386,7 +386,7 @@ else:
     scheme = "https"
   else:
     scheme = "http"
-  hive_site_config['hive.hook.dgi.url'] = format('{scheme}://{metadata_host}:{metadata_port}')
+  hive_site_config['atlas.rest.address'] = format('{scheme}://{metadata_host}:{metadata_port}')
 
   if not 'hive.exec.post.hooks' in hive_site_config:
     hive_site_config['hive.exec.post.hooks'] = 'org.apache.atlas.hive.hook.HiveHook'