Repository: hive
Updated Branches:
  refs/heads/branch-2 0dddd7cff -> 2bcab1467


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/2bcab146
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/2bcab146
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/2bcab146

Branch: refs/heads/branch-2
Commit: 2bcab1467988c1dd8aea0cd05d794c8b32b3806b
Parents: 0dddd7c
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:58:25 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/hive/blob/2bcab146/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