lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Koch <>
Subject Zookeeper: Could not get shard_id for core
Date Fri, 01 Mar 2013 14:03:59 GMT
On a host that is running two separate solr (jetty) processes and a single
zookeeper process, we're often seeing solr complain that it can't find a
particular core. If we restart the solr process, when it comes back up, it
has lost all information about its cores

Feb 28, 2013 10:26:47 PM org.apache.solr.core.SolrCore registerSearcher
INFO: [core0] Registered new searcher
/78380 _vwv( ... [snip]
Feb 28, 2013 10:26:47 PM$2
INFO: A cluster state change has occurred - updating...
Feb 28, 2013 10:27:47 PM org.apache.solr.common.SolrException log
*SEVERE: null:org.apache.solr.common.SolrException: Could not get shard_id
for core: core0*

SEVERE: null:org.apache.solr.common.SolrException: Could not get shard_id
for core: core1

etc for all the cores.

The solution has been so far to shut down solr and zookeeper, delete the
zookeeper configuration from disk, and then bring everything back up again.

Has anyone else seen this problem? I'd love to be able to do with the
hassle of having to run zookeeper, and the problems that are associated
with it. Is this possible?

/Martin Koch - Senior Systems Architect -

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message