Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17924

Export Hive classpath environment in hive-env.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      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.

      Attachments

        1. AMBARI-17924.patch
          19 kB
          Dmytro Grinenko

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: