lhotari commented on code in PR #22804:
URL: https://github.com/apache/pulsar/pull/22804#discussion_r1621291935
##########
bin/pulsar:
##########
@@ -313,6 +313,9 @@ OPTS="$OPTS
-Dpulsar.functions.extra.dependencies.dir=${FUNCTIONS_EXTRA_DEPS_DIR
OPTS="$OPTS -Dpulsar.functions.instance.classpath=${PULSAR_CLASSPATH}"
OPTS="$OPTS -Dpulsar.functions.log.conf=${FUNCTIONS_LOG_CONF}"
+# Enable snappy-java to use system lib
+OPTS="$OPTS -Dorg.xerial.snappy.use.systemlib=true"
+
Review Comment:
One possible solution is to append `OPTS="$OPTS
-Dorg.xerial.snappy.use.systemlib=true"` to `conf/bkenv.sh` file while building
the docker image. `conf/bkenv.sh` will get included for all executions of
`bin/pulsar`:
https://github.com/apache/pulsar/blob/60ebab4ca6f8a45e72d1d61e29b433dde06da192/bin/pulsar#L109-L113
--
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]