You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/07/23 23:31:05 UTC

[jira] [Updated] (SOLR-7735) Look for solr.xml in Zookeeper by default

     [ https://issues.apache.org/jira/browse/SOLR-7735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

New patch. More concise code. Better error messages. Updated start scripts so they only abort at missing SOLR_HOME/solr.xml in non-cloud mode.

Tested various code paths manually. Tested start script for Unix and Windows. Please give it a spin and report back.

> Look for solr.xml in Zookeeper by default
> -----------------------------------------
>
>                 Key: SOLR-7735
>                 URL: https://issues.apache.org/jira/browse/SOLR-7735
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.2.1
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>             Fix For: 5.3
>
>         Attachments: SOLR-7735.patch, 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org