Pivotal Knowledge Base


Updating Hive heap settings via Ambari in Pivotal HD has no effect


Product Version
Pivotal HD 3.x
Ambari  1.7 / 2.x


Updating HiveServer2 and Hive Metastore heap settings via Ambari has no effect on the HiveServer2 or Hive Metastore processes on the nodes. For example:

In Ambari, the HiveServer2 heap size is set to 512Mb:

After restarting HiveServer2 via Ambari, the default of 1024Mb is still being used:


The heap size options in Ambari do not work for Hiveserver2 and Hive Metastore.


Follow the knowledge base article How to set heap size of hive clients different from other hive services in order to correctly set the HiveServer2 /Hive Metastore heap sizes using the hive-env.sh configuration file via Ambari.



Powered by Zendesk