[jira] [Commented] (SOLR-13035) Utilize solr.data.home / solrDataHome in solr.xml to set all writable files in single directory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-13035) Utilize solr.data.home / solrDataHome in solr.xml to set all writable files in single directory

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710768#comment-16710768 ]

Amrit Sarkar commented on SOLR-13035:
-------------------------------------

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.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: [hidden email]
For additional commands, e-mail: [hidden email]