pan3793 commented on code in PR #1824:
URL:
https://github.com/apache/incubator-celeborn/pull/1824#discussion_r1319487510
##########
sbin/load-celeborn-env.sh:
##########
@@ -69,3 +69,25 @@ if [ "$CELEBORN_PID_DIR" = "" ]; then
export CELEBORN_PID_DIR="${CELEBORN_HOME}/pids"
fi
+# jemalloc memory allocator is enabled by default, you may set
DISABLE_JEMALLOC to true if it's not as you wish.
+DISABLE_JEMALLOC="false"
+maybe_enable_jemalloc() {
+ if [ "${DISABLE_JEMALLOC:-false}" == "false" ]; then
Review Comment:
please adding the configurable env vars into the `celeborn-env.sh.template`
##########
sbin/load-celeborn-env.sh:
##########
@@ -69,3 +69,25 @@ if [ "$CELEBORN_PID_DIR" = "" ]; then
export CELEBORN_PID_DIR="${CELEBORN_HOME}/pids"
fi
+# jemalloc memory allocator is enabled by default, you may set
DISABLE_JEMALLOC to true if it's not as you wish.
+DISABLE_JEMALLOC="false"
+maybe_enable_jemalloc() {
+ if [ "${DISABLE_JEMALLOC:-false}" == "false" ]; then
Review Comment:
please add the configurable env vars into the `celeborn-env.sh.template`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]