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

Keep empty value for Hive2/hive-interactive-site.xml config 'hive.llap.io.memory.mode'.

    XMLWordPrintableJSON

Details

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

    Description

      Ambari default value for Hive2/LLAP ambari/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml, has value for 'hive.llap.io.memory.mode' as :

        </property>
        <property>
          <name>hive.llap.io.memory.mode</name>
          <value>none</value>
          <on-ambari-upgrade add="true"/>
        </property>
      
      • Stack Advisor never changes this value. Thus, practically, this config stays as none during the lifetime.

      Fix: need to remove the 'none' value, and keep it as :

        <property>
          <name>hive.llap.io.memory.mode</name>
          <value/>
          <value-attributes>
            <empty-value-valid>true</empty-value-valid>
          </value-attributes>
          <on-ambari-upgrade add="true"/>
        </property>
      

      Attachments

        1. AMBARI-17434.patch
          1 kB
          Swapan Shridhar

        Issue Links

          Activity

            People

              swapanshridhar Swapan Shridhar
              swapanshridhar Swapan Shridhar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: