You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2018/08/28 20:17:28 UTC

[ambari] branch branch-2.7 updated: AMBARI-24553. Cannot start Hive Metastore without HDFS (#2186)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 87b288c  AMBARI-24553. Cannot start Hive Metastore without HDFS (#2186)
87b288c is described below

commit 87b288c0d6ac4722f34fa6e6842987441e982866
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Tue Aug 28 22:17:25 2018 +0200

    AMBARI-24553. Cannot start Hive Metastore without HDFS (#2186)
---
 .../resources/stacks/HDP/2.6/services/HIVE/configuration/hive-env.xml    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-env.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-env.xml
index 674d633..6f44ff7 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-env.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-env.xml
@@ -60,6 +60,7 @@
     <display-name>hive-env template</display-name>
     <description>This is the jinja template for hive-env.sh file</description>
     <value>
+export JAVA_HOME={{java64_home}}
 export HADOOP_USER_CLASSPATH_FIRST=true  #this prevents old metrics libs from mapreduce lib from bringing in old jar deps overriding HIVE_LIB
 if [ "$SERVICE" = "cli" ]; then
   if [ -z "$DEBUG" ]; then