Repository: hive
Updated Branches:
  refs/heads/master 571ef51ac -> ed487ac40


HIVE-18654 : Add Hiveserver2 specific HADOOP_OPTS environment variable (Vihang 
Karajgaonkar, reviewed by Sahil Takiar)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ed487ac4
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ed487ac4
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ed487ac4

Branch: refs/heads/master
Commit: ed487ac407543a62e75571ed04bed4eaee3c7ebd
Parents: 571ef51
Author: Vihang Karajgaonkar <vih...@cloudera.com>
Authored: Fri Feb 23 12:42:58 2018 -0800
Committer: Vihang Karajgaonkar <vih...@cloudera.com>
Committed: Fri Feb 23 12:42:58 2018 -0800

----------------------------------------------------------------------
 bin/ext/hiveserver2.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ed487ac4/bin/ext/hiveserver2.sh
----------------------------------------------------------------------
diff --git a/bin/ext/hiveserver2.sh b/bin/ext/hiveserver2.sh
index b86a897..1e94542 100644
--- a/bin/ext/hiveserver2.sh
+++ b/bin/ext/hiveserver2.sh
@@ -25,6 +25,7 @@ hiveserver2() {
   JAR=${HIVE_LIB}/hive-service-[0-9].*.jar
 
   export HADOOP_CLIENT_OPTS=" -Dproc_hiveserver2 $HADOOP_CLIENT_OPTS "
+  export HADOOP_OPTS="$HIVESERVER2_HADOOP_OPTS $HADOOP_OPTS"
   exec $HADOOP jar $JAR $CLASS $HIVE_OPTS "$@"
 }
 

Reply via email to