risdenk commented on code in PR #3359:
URL: https://github.com/apache/solr/pull/3359#discussion_r2101482608


##########
solr/bin/solr:
##########
@@ -1314,6 +1314,7 @@ function start_solr() {
   SOLR_START_OPTS=('-server' "${JAVA_MEM_OPTS[@]}" "${GC_TUNE_ARR[@]}" 
"${GC_LOG_OPTS[@]}" "${IP_ACL_OPTS[@]}" \
     "${REMOTE_JMX_OPTS[@]}" "${CLOUD_MODE_OPTS[@]}" 
-Dsolr.log.dir="$SOLR_LOGS_DIR" \
     "-Djetty.port=$SOLR_PORT" "-DSTOP.PORT=$stop_port" "-DSTOP.KEY=$STOP_KEY" \
+    "-Djava.io.tmpdir=$(cd $TMPDIR; pwd -P)" \

Review Comment:
   note this was enough to fix `./bin/solr start` but looks like 
SOLR_START_OPTS might not be used everywhere. for example in `stop_solr` or 
`run_tool` but we could apply a similar fix there.



##########
solr/bin/solr:
##########
@@ -1314,6 +1314,7 @@ function start_solr() {
   SOLR_START_OPTS=('-server' "${JAVA_MEM_OPTS[@]}" "${GC_TUNE_ARR[@]}" 
"${GC_LOG_OPTS[@]}" "${IP_ACL_OPTS[@]}" \
     "${REMOTE_JMX_OPTS[@]}" "${CLOUD_MODE_OPTS[@]}" 
-Dsolr.log.dir="$SOLR_LOGS_DIR" \
     "-Djetty.port=$SOLR_PORT" "-DSTOP.PORT=$stop_port" "-DSTOP.KEY=$STOP_KEY" \
+    "-Djava.io.tmpdir=$(cd $TMPDIR; pwd -P)" \

Review Comment:
   note this was enough to fix `./bin/solr start` but looks like 
`SOLR_START_OPTS` might not be used everywhere. for example in `stop_solr` or 
`run_tool` but we could apply a similar fix there.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to