You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2016/07/27 15:27:20 UTC

[jira] [Created] (AMBARI-17924) Export Hive classpath environment in hive-env.sh

Dmytro Grinenko created AMBARI-17924:
----------------------------------------

             Summary: Export Hive classpath environment in hive-env.sh
                 Key: AMBARI-17924
                 URL: https://issues.apache.org/jira/browse/AMBARI-17924
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Dmytro Grinenko
            Priority: Critical
             Fix For: 2.4.0


In hive-env.sh, we need to make sure to set these variables
export HIVE_HOME=
export HIVE_CONF_DIR=
Where hive_home is format("
{stack_root}
/current/
{component_directory}
/") since this can happen on a host with either Hive Server2, MetaStore, client, etc.
hive_conf_dir is already set in status_params.py
During EU/RU to HDP 2.5, we have to modify hive-env to add these exports so that will require changes in 4 upgrade packs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)