janhoy commented on pull request #525: URL: https://github.com/apache/solr/pull/525#issuecomment-1013762263
> The "problem" with the latter is only related to how we run Docker which oddly puts SOLR_HOME out in /var/solr which has always felt like a hack. It has been a best practice for a long time to assign SOLR_HOME to your big data partition, and on `/var/xxx`, separate from the binary install which can be read-only. The `install_solr_service.sh` does the exact same thing. Oddly enough, the example configs do not respect $SOLR_HOME, so if you try `docker run --rm -p 8983:8983 solr -e techproducts` then it fails since it tries to write to `/opt/solr/example/techproducts/solr` which is and should be read-only.. It should have used `/var/solr/data/`. So the issue of `SOLR_HOME/lib` not being co-located with the binary install is very old and was an issue long before Docker. -- 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]
