lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roySolr <royrutten1...@gmail.com>
Subject Add core in solr.xml | Problem with starting SOLRcloud
Date Thu, 16 Oct 2014 15:03:02 GMT
Hello,

Our platform has 4 solr instances and 3 zookeepers(solr 4.1.0).

I want to add a new core in my solrcloud. I add the new core to the solr.xml
file:

<core name="collection2" instanceDir="collection2" />

I put the config files in the directory collection2. I uploaded the new
config to zookeeper and start solr.
Solr did not start up and gives the following error:

Oct 16, 2014 4:57:06 PM org.apache.solr.cloud.ZkController publish
INFO: publishing core=collection1 state=recovering
Oct 16, 2014 4:57:06 PM org.apache.solr.cloud.ZkController publish
INFO: numShards not found on descriptor - reading it from system property
Oct 16, 2014 4:57:06 PM org.apache.solr.client.solrj.impl.HttpClientUtil
createClient
INFO: Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false
Oct 16, 2014 4:59:06 PM org.apache.solr.common.SolrException log
SEVERE: Error while trying to recover.
core=collection1:org.apache.solr.common.SolrException: I was asked to wait
on state recovering for 31.114.2.237:8910_solr but I still do not see the
requested state. I see state: active live:true
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:404)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:181)
        at
org.apache.solr.cloud.RecoveryStrategy.sendPrepRecoveryCmd(RecoveryStrategy.java:202)
        at
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:346)
        at
org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:223)

Oct 16, 2014 4:59:06 PM org.apache.solr.cloud.RecoveryStrategy doRecovery
SEVERE: Recovery failed - trying again... (0) core=collection1
Oct 16, 2014 4:59:06 PM org.apache.solr.cloud.RecoveryStrategy doRecovery
INFO: Wait 2.0 seconds before trying to recover again (1)
Oct 16, 2014 4:59:08 PM org.apache.solr.cloud.ZkController publish
INFO: publishing core=collection1 state=recovering
Oct 16, 2014 4:59:08 PM org.apache.solr.cloud.ZkController publish
INFO: numShards not found on descriptor - reading it from system property
Oct 16, 2014 4:59:08 PM org.apache.solr.client.solrj.impl.HttpClientUtil
createClient
INFO: Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false


What's wrong with my setup? Any help would be appreciated!

Roy



--
View this message in context: http://lucene.472066.n3.nabble.com/Add-core-in-solr-xml-Problem-with-starting-SOLRcloud-tp4164524.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message