lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13035) Utilize solr.data.home / solrDataHome in solr.xml to set all writable files in single directory
Date Wed, 02 Jan 2019 09:34:00 GMT

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

Shalin Shekhar Mangar commented on SOLR-13035:
----------------------------------------------

Why should there be a "var" directory under the unzipped solr? "var" doesn't mean anything
on windows, for example. Most datastores ship with a logs and data directory right under the
unzipped root. I think we should do the same and not introduce new environment variables.
Also, it should be possible to point data and logs to separate mount points which a new SOLR_VAR_ROOT
doesn't hinder but doesn't help with too.

If someone wants to move all such writable directories under one then they can set multiple
variables (which already exist and are relatively well known) or they can mount to multiple
places. This will likely be done by the docker-solr project so it is not like everyone has
to make this decision. I'd be okay going with your proposal if getting rid of the myriad of
properties we already have is part of the plan but if not, then adding one more just causes
more confusion I feel.

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message