Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7735

Look for solr.xml in Zookeeper by default

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      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

        Attachments

        1. SOLR-7735.patch
          15 kB
          Jan Høydahl
        2. SOLR-7735.patch
          10 kB
          Jan Høydahl

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                janhoy Jan Høydahl
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: