You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/11/29 04:23:10 UTC
hive git commit: HIVE-20951 : LLAP: Set Xms to 50% always (Gopal V
via Ashutosh Chauhan)
Repository: hive
Updated Branches:
refs/heads/master a070a9dc6 -> f3e6bd886
HIVE-20951 : LLAP: Set Xms to 50% always (Gopal V via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/f3e6bd88
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/f3e6bd88
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/f3e6bd88
Branch: refs/heads/master
Commit: f3e6bd8866b7156e1013ad68562131b2cd32596e
Parents: a070a9d
Author: Gopal V <go...@apache.org>
Authored: Wed Nov 28 20:22:34 2018 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Wed Nov 28 20:22:34 2018 -0800
----------------------------------------------------------------------
llap-server/bin/runLlapDaemon.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/f3e6bd88/llap-server/bin/runLlapDaemon.sh
----------------------------------------------------------------------
diff --git a/llap-server/bin/runLlapDaemon.sh b/llap-server/bin/runLlapDaemon.sh
index 1c128c6..30a62f2 100755
--- a/llap-server/bin/runLlapDaemon.sh
+++ b/llap-server/bin/runLlapDaemon.sh
@@ -130,5 +130,5 @@ LLAP_DAEMON_OPTS="${LLAP_DAEMON_OPTS} -Dllap.daemon.log.level=${LLAP_DAEMON_LOG_
export MALLOC_ARENA_MAX=4
export JVM_PID="$$"
-exec "$JAVA" -Dproc_llapdaemon -Xms${LLAP_DAEMON_HEAPSIZE}m -Xmx${LLAP_DAEMON_HEAPSIZE}m ${LLAP_DAEMON_OPTS} -classpath "$CLASSPATH" $CLASS "$@"
+exec "$JAVA" -Dproc_llapdaemon -Xms$(( ${LLAP_DAEMON_HEAPSIZE} / 2 ))m -Xmx${LLAP_DAEMON_HEAPSIZE}m ${LLAP_DAEMON_OPTS} -classpath "$CLASSPATH" $CLASS "$@"