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/06/30 09:22:04 UTC

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

Jan Høydahl created SOLR-7735:
---------------------------------

             Summary: 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
             Fix For: 5.3


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