[ https://issues.apache.org/jira/browse/HIVE-12374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125545#comment-15125545 ]
Ashutosh Chauhan commented on HIVE-12374: ----------------------------------------- Patch LGTM. However, I think default Xmx value should be 8GB. 2GB looks too small for daemon process for usual current hardware spec. > Improve setting of JVM configs for HS2 and Metastore shell scripts > ------------------------------------------------------------------- > > Key: HIVE-12374 > URL: https://issues.apache.org/jira/browse/HIVE-12374 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, Metastore > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Attachments: HIVE-12374.1.patch > > > Adding {{HIVESERVER2_JVM_OPTS}} and {{METASTORE_JVM_OPTS}} env variables, > which will eventually set {{HADOOP_CLIENT_OPTS}} (since we start the > processes using hadoop jar ...). Also setting these defaults:{{-Xms128m > -Xmx2048m -XX:MaxPermSize=128m}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)