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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5.1, 4.6, 6.0
    • Component/s: contrib - Clustering
    • Labels:
      None
    • Environment:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: