ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-17699. Update more configs for hive interactive in HDP 2.5 stack - addendum patch (Siddharth Seth via smohanty)
Date Fri, 15 Jul 2016 04:22:19 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 edb84d0a6 -> 952eb6ab5


AMBARI-17699. Update more configs for hive interactive in HDP 2.5 stack - addendum patch (Siddharth
Seth via smohanty)


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

Branch: refs/heads/branch-2.4
Commit: 952eb6ab5d374040056992c2b661e3e92b69b04f
Parents: edb84d0
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Thu Jul 14 21:21:25 2016 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Thu Jul 14 21:22:07 2016 -0700

----------------------------------------------------------------------
 .../HIVE/configuration/hive-interactive-env.xml      | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/952eb6ab/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
index 485ae95..f5ef902 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
@@ -252,14 +252,13 @@
       # Hive Configuration Directory can be controlled by:
       export HIVE_CONF_DIR={{hive_server_interactive_conf_dir}}
 
-      # Folder containing extra ibraries required for hive compilation/execution can be controlled
by:
-      # if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then
-      # export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}
-      # elif [ -d "/usr/lib/hive-hcatalog/" ]; then
-      # export HIVE_AUX_JARS_PATH=/usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-*.jar
-      # else
-      # export HIVE_AUX_JARS_PATH=/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar
-      # fi
+      # Add additional hcatalog jars
+      if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then
+      export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}
+      else
+      export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-server2-hive2/lib/hive-hcatalog-core.jar
+      fi
+
       export METASTORE_PORT={{hive_metastore_port}}
 
       # Spark assembly contains a conflicting copy of HiveConf from hive-1.2


Mime
View raw message