Firstly, don't use an embedded Zookeeper for anything other than experimentation,
Set up your own zookeeper ensemble, otherwise your one box doing GC will take down all of your solr instances. On Fri, Dec 25, 2015, at 01:24 PM, Binoy Dalal wrote: > Hi Elvis, > We're having a similar problem with one of our cloud setups. > I'm currently running Solr 4.10.4 with 2 shards and no replicas. One of > our > shards also keeps dropping off with the same error message. This happens > because the shard executes too many full GCs which completely freezes the > machine and causes zookeeper to think that it has dropped off. So I would > suggest that you analyze your gc logs and see if you're facing a similar > problem. > Moreover, I'm currently running the zookeeper that is embedded with solr. > Are you doing the same or do you have an external instance/ensemble > setup? > So far, I've got no solutions but I'll update this thread if I find > anything. > > On Fri, Dec 25, 2015 at 5:01 PM elvis鱼人 <q474818...@163.com> wrote: > > > my environment is solrcloud 5.2.0, 3 shards, every shard has 2 replica,one > > leader,one replica > > > > > > [11-18 06:58:42.515][ERROR] > > org.apache.solr.common.SolrException.log(SolrException.java:139) - > > org.apache.solr.common.SolrException: no servers hosting shard: > > at > > > > org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:211) > > at > > > > org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:183) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > > > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:148) > > at > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:745) > > > > [11-18 06:58:42.515][INFO] > > org.apache.solr.core.SolrCore.execute(SolrCore.java:2069) - [feed] > > webapp=/solr path=/select params={q=uid:2647309&wt=javabin&version=2} > > status=503 QTime=4 > > > > query to this node,not to solrcloud > > > > > > > > -- > > View this message in context: > > http://lucene.472066.n3.nabble.com/no-servers-hosting-shard-very-strange-tp4247349.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > -- > Regards, > Binoy Dalal