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

Solr requires -Dsolr.clustering.enabled=false when pointing at example config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.5
    • 4.5.1, 4.6, 6.0
    • contrib - Clustering
    • None
    • vanilla mac

    Description

      my typical use of Solr is something like this:

      cd SOLR_HOME/example
      cp -r solr /myProjectDir/solr_home
      java -jar -Dsolr.solr.home=/myProjectDir/solr_home  start.jar
      

      But in solr 4.5.0 this fails to start successfully. I get an error:

      org.apache.solr.common.SolrException: Error loading class 'solr.clustering.ClusteringComponent'
      

      The reason is because solr.clustering.enabled defaults to true now. I don't know why this might be the case.

      you can get around it with

      java -jar -Dsolr.solr.home=/myProjectDir/solr_home -Dsolr.clustering.enabled=false start.jar
      

      SOLR-4708 is when this became an issue.

      Attachments

        1. SOLR-5323.patch
          3 kB
          Dawid Weiss

        Activity

          People

            dweiss Dawid Weiss
            berryman John Berryman
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: