You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2013/10/09 15:50:43 UTC
[jira] [Updated] (SOLR-5323) Solr requires
-Dsolr.clustering.enabled=false when pointing at example config
[ https://issues.apache.org/jira/browse/SOLR-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Hatcher updated SOLR-5323:
-------------------------------
Description:
my typical use of Solr is something like this:
{code}
cd SOLR_HOME/example
cp -r solr /myProjectDir/solr_home
java -jar -Dsolr.solr.home=/myProjectDir/solr_home start.jar
{code}
But in solr 4.5.0 this fails to start successfully. I get an error:
{code}
org.apache.solr.common.SolrException: Error loading class 'solr.clustering.ClusteringComponent'
{code}
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
{code}
java -jar -Dsolr.solr.home=/myProjectDir/solr_home -Dsolr.clustering.enabled=false start.jar
{code}
SOLR-4708 is when this became an issue.
was:
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.
> Solr requires -Dsolr.clustering.enabled=false when pointing at example config
> -----------------------------------------------------------------------------
>
> Key: SOLR-5323
> URL: https://issues.apache.org/jira/browse/SOLR-5323
> Project: Solr
> Issue Type: Bug
> Components: contrib - Clustering
> Affects Versions: 4.5
> Environment: vanilla mac
> Reporter: John Berryman
> Fix For: 5.0, 4.6
>
>
> my typical use of Solr is something like this:
> {code}
> cd SOLR_HOME/example
> cp -r solr /myProjectDir/solr_home
> java -jar -Dsolr.solr.home=/myProjectDir/solr_home start.jar
> {code}
> But in solr 4.5.0 this fails to start successfully. I get an error:
> {code}
> org.apache.solr.common.SolrException: Error loading class 'solr.clustering.ClusteringComponent'
> {code}
> 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
> {code}
> java -jar -Dsolr.solr.home=/myProjectDir/solr_home -Dsolr.clustering.enabled=false start.jar
> {code}
> SOLR-4708 is when this became an issue.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org