Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-23-2016 04:44 PM
Ambari's hive config includes an entry for "Metastore Heap Size" and the context help says this corresponds to hive.metastore.heapsize, but I can't find any other reference to this parameter in Apache or any hadoop vendor's documentation. Is this actually a parameter? Where is it set? The value we are setting in Ambari does not appear to be affecting the actual heap being used on our server.
(Ambari 2.2.2.0)
Created 08-23-2016 04:56 PM
The hive.metastore.heapsize is not a parameter that is in a file like hive-site.xml. This value is used by Ambari for substitution into the hive-env template file. You can see this section in the text box in Ambari:
if [ "$SERVICE" = "metastore" ]; then
export HADOOP_HEAPSIZE={{hive_metastore_heapsize}} # Setting for HiveMetastore
else
export HADOOP_HEAPSIZE={{hive_heapsize}} # Setting for HiveServer2 and Client
fi
The {{hive_metastore_heapsize}} is where the substitution is made.
Created 08-23-2016 04:56 PM
The hive.metastore.heapsize is not a parameter that is in a file like hive-site.xml. This value is used by Ambari for substitution into the hive-env template file. You can see this section in the text box in Ambari:
if [ "$SERVICE" = "metastore" ]; then
export HADOOP_HEAPSIZE={{hive_metastore_heapsize}} # Setting for HiveMetastore
else
export HADOOP_HEAPSIZE={{hive_heapsize}} # Setting for HiveServer2 and Client
fi
The {{hive_metastore_heapsize}} is where the substitution is made.
Created 01-18-2017 05:10 PM
had the same problem on IBM BigInsight 4.1
You saved my day
Created 08-23-2016 05:04 PM
I think our hive-env template is missing the section related to setting the heapsize.... We're reaching out to support for a fresh copy of that.