Repository: hive Updated Branches: refs/heads/master 6c194473c -> 680a58476
HIVE-19042 : set MALLOC_ARENA_MAX for LLAP (Sergey Shelukhin, reviewed by Gopal Vijayaraghavan) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/680a5847 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/680a5847 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/680a5847 Branch: refs/heads/master Commit: 680a58476b4c63d08b95660af9e67ef83bfa3273 Parents: 6c19447 Author: sergey <ser...@apache.org> Authored: Tue Mar 27 12:33:46 2018 -0700 Committer: sergey <ser...@apache.org> Committed: Tue Mar 27 12:33:46 2018 -0700 ---------------------------------------------------------------------- llap-server/bin/runLlapDaemon.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/680a5847/llap-server/bin/runLlapDaemon.sh ---------------------------------------------------------------------- diff --git a/llap-server/bin/runLlapDaemon.sh b/llap-server/bin/runLlapDaemon.sh index 5a0c10e..1c128c6 100755 --- a/llap-server/bin/runLlapDaemon.sh +++ b/llap-server/bin/runLlapDaemon.sh @@ -127,6 +127,8 @@ LLAP_DAEMON_OPTS="${LLAP_DAEMON_OPTS} -Dllap.daemon.log.file=${LLAP_DAEMON_LOG_F LLAP_DAEMON_OPTS="${LLAP_DAEMON_OPTS} -Dllap.daemon.root.logger=${LLAP_DAEMON_LOGGER}" LLAP_DAEMON_OPTS="${LLAP_DAEMON_OPTS} -Dllap.daemon.log.level=${LLAP_DAEMON_LOG_LEVEL}" +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 "$@"