eolivelli commented on code in PR #16143:
URL: https://github.com/apache/pulsar/pull/16143#discussion_r1065735752


##########
bin/pulsar:
##########
@@ -307,6 +307,9 @@ if [[ -z "$IS_JAVA_8" ]]; then
   OPTS="$OPTS --add-opens 
jdk.management/com.sun.management.internal=ALL-UNNAMED"
 fi
 
+# Specify default nar tmp dir
+OPTS="$OPTS -Dnar.extraction.tmpdir=$PULSAR_HOME/tmp"

Review Comment:
   we should make it overridable by a ENV variable.
   for instance in the docker images it is better to not let the nar files be 
unpacked in /pulsar/tmp
   the same applies for regular non-docker/non-k8s installations, the 
PULSAR_HOME directory contains "code" and "configuration" it shouldn't contain 
an arbitrary amount of data)
   



-- 
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]

Reply via email to