lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Updated] (SOLR-7735) Look for solr.xml in Zookeeper by default
Date Tue, 30 Jun 2015 18:42:05 GMT


Jan Høydahl updated SOLR-7735:
    Attachment: SOLR-7735.patch

Attaching patch. Tests and precommit SUCCESS. All mention of {{solr.solrxml.location}} is
gone, added a {{WARN}} log if someone tries to use it.

The sysprop is not documented in the refguide as of now, but still I mentioned the change
in the "Upgrading from Solr 5.2" section of CHANGES.

Last chance for veto before committing in a few days.

> Look for solr.xml in Zookeeper by default
> -----------------------------------------
>                 Key: SOLR-7735
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.2.1
>            Reporter: Jan Høydahl
>             Fix For: 5.3
>         Attachments: SOLR-7735.patch
> In SOLR-4718 support was added for reading {{solr.xml}} from ZK by providing system property
{{solr.solrxml.location=zookeeper}}. If this property is not specified, solr.xml is read from
SOLR_HOME. This issue is a spinoff from SOLR-7727 where start scripts do not support solr.xml
in ZK.
> Instead of adding this to start scripts, suggest to simplify the whole logic:
> * If not in cloud mode, require {{solr.xml}} in SOLR_HOME as today
> * If in cloud mode, first look for {{solr.xml}} in ZK, but if not found, load from SOLR_HOME
as today
> * Remove the need for {{solr.solrxml.location}} property

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message