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

HDP-2.3 does not have the ability to set heapsize for hive components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.2
    • 2.2.0
    • stacks
    • None

    Description

      It could be as simple as making sure that ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-env.xml has the same changes as in the 2.2. version (ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-env.xml).

      Specifically the missing parts are:

      export SERVICE=$SERVICE
      if [ "$SERVICE" = "metastore" ]; then
        export HADOOP_HEAPSIZE="{{hive_metastore_heapsize}}"
      else
        export HADOOP_HEAPSIZE="{{hive_heapsize}}"
      fi
      

      Attachments

        1. AMBARI-13817.patch
          14 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: