Pivotal Knowledge Base

Follow

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

Environment

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

Symptom

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:

Cause

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

Resolution

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.

 

Comments

Powered by Zendesk