[ https://issues.apache.org/jira/browse/HIVE-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433303#comment-15433303 ]
Jim Hoagland commented on HIVE-12582: ------------------------------------- The patch starts including $HIVE_HADOOP_OPTS when running HiveServer2. I agree that there should be something parallel to HIVE_METASTORE_HADOOP_OPTS for HiveServer2, but I think if the variable name were HIVE_SERVER2_HADOOP_OPTS that would be more clearly targeted for HiveServer2. In addition to patching the .sh, hive-env.sh.template should probably also be updated to at least mention the existence of the variable. > fix hiveserver2.sh script like metastore.sh is. > ----------------------------------------------- > > Key: HIVE-12582 > URL: https://issues.apache.org/jira/browse/HIVE-12582 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Environment: linux > Reporter: Stanilovsky Evgeny > Priority: Trivial > Fix For: 1.0.0 > > Attachments: p.patch > > > in case of altering startup jvm properties, it would be great to fix > hiveserver2.sh, appending : export HADOOP_OPTS="$HIVE_METASTORE_HADOOP_OPTS > $HADOOP_OPTS" like it contains in metastore.sh -- This message was sent by Atlassian JIRA (v6.3.4#6332)