[ https://issues.apache.org/jira/browse/SOLR-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710768#comment-16710768 ]
Amrit Sarkar edited comment on SOLR-13035 at 12/6/18 2:03 PM: -------------------------------------------------------------- Thanks [~elyograg] and [~janhoy], I see in SOLR-6671 the motivation behind {{solr.data.home}} and understand why we don't want wish to have core properties under the same directory. I strongly agree with [~shalinmangar] on making Solr easy to use with dockers/containers and don't have to configure out of ordinary and have workarounds. With current patch, entire {{server/solr}} can be READ-ONLY, and directories specified at Solr startup: {code} cd $SOLR_TIP bin/solr start -c -p 8983 -t data -l logs {code} would be WRITE-ONLY. I can work on a design we have consensus on. Looking forward to feedback, I can start right on, and as mentioned we can get in version 8.0. was (Author: sarkaramr...@gmail.com): Thanks [~elyograg] and [~janhoy], I see in SOLR-6671 the motivation behind {{solr.data.home}} and understand why we don't want wish to have core properties under the same directory. I strongly agree with [~shalinmangar] on making Solr easy to use with dockers/containers and don't have to configure out of ordinary and have workarounds. With current patch, entire {{server/solr}} can be READ-ONLY, and directories specified at Solr startup: {code} bin/solr start -c -p 8983 -t data -l logs {code} would be WRITE-ONLY. I can work on a design we have consensus on. Looking forward to feedback, I can start right on, and as mentioned we can get in version 8.0. > Utilize solr.data.home / solrDataHome in solr.xml to set all writable files > in single directory > ----------------------------------------------------------------------------------------------- > > Key: SOLR-13035 > URL: https://issues.apache.org/jira/browse/SOLR-13035 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Amrit Sarkar > Priority: Major > Attachments: SOLR-13035.patch, SOLR-13035.patch > > > {{solr.data.home}} system property or {{solrDataHome}} in _solr.xml_ is > already available as per SOLR-6671. > The writable content in Solr are index files, core properties, and ZK data if > embedded zookeeper is started in SolrCloud mode. It would be great if all > writable content can come under the same directory to have separate READ-ONLY > and WRITE-ONLY directories. > It can then also solve official docker Solr image issues: > https://github.com/docker-solr/docker-solr/issues/74 > https://github.com/docker-solr/docker-solr/issues/133 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org