[ https://issues.apache.org/jira/browse/SOLR-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16742776#comment-16742776 ]
Amrit Sarkar commented on SOLR-13035: ------------------------------------- Fresh patch uploaded, the design: 1. {{SOLR_VAR_ROOT}} introduced, defaults to {{SOLR_TIP}} (installation dir) 2. {{SOLR_DATA_HOME}} will be resolved to {{<SOLR_VAR_ROOT>}}/data if not passed explicitly 3. {{SOLR_LOGS_DIR}} will be resolved to {{<SOLR_VAR_ROOT>}}/logs if not passed explicitly 4. {{SOLR_PID_DIR}} will be resolved to {{<SOLR_VAR_ROOT>}}/, if not passed then as before, {{<SOLR_TIP>}}/bin a. SOLR_DATA_HOME now will be resolved to both instancePath and dataDir for cores, unlike just dataDir before. b. SOLR_DATA_HOME is not present in the server, an attempt will be made to create the specified directory. I have only added tests for SOLR_DATA_HOME, not sure how to test startup script changes except manually. If everyone agrees with all good above, I will add relevant documentation and finish this up. > 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-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