lhotari commented on code in PR #22804:
URL: https://github.com/apache/pulsar/pull/22804#discussion_r1621294472


##########
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:
   A cleaner solution would be to add a feature to `bin/pulsar` so that you can 
pass an environment variable to specify a script that gets included sourced if 
a specific environment variable is set.
   
   



-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to