Hi;

Do you have any error log for leader election? Also do you have this error
always or just within the time period of while the other replica is
recovery mode?

Thanks;
Furkan KAMACI


18 Aralık 2013 Çarşamba tarihinde yriveiro <yago.rive...@gmail.com> adlı
kullanıcı şöyle yazdı:
> I'm getting an error on Solr 4.6.0 about leader registation, the admin
shows
> this:
>
> http://picpaste.com/a839446d0808df205aa7be78c780ed32.png
>
> But my logs says:
>
> ERROR - dat6 - 2013-12-18 11:43:54.253;
> org.apache.solr.common.SolrException;
org.apache.solr.common.SolrException:
> No registered leader was found, collection:statistics-13 slice:shard23_1
>         at
>
org.apache.solr.common.cloud.ZkStateReader.getLeaderRetry(ZkStateReader.java:484)
>         at
>
org.apache.solr.common.cloud.ZkStateReader.getLeaderRetry(ZkStateReader.java:467)
>         at
>
org.apache.solr.update.processor.DistributedUpdateProcessor.setupRequest(DistributedUpdateProcessor.java:223)
>         at
>
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:428)
>         at
>
org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:100)
>         at
>
org.apache.solr.handler.loader.JavabinLoader$1.update(JavabinLoader.java:89)
>         at
>
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$1.readOuterMostDocIterator(JavaBinUpdateRequestCodec.java:151)
>         at
>
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$1.readIterator(JavaBinUpdateRequestCodec.java:131)
>         at
org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:223)
>         at
>
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$1.readNamedList(JavaBinUpdateRequestCodec.java:116)
>         at
org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:188)
>         at
> org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:114)
>         at
>
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec.unmarshal(JavaBinUpdateRequestCodec.java:158)
>         at
>
org.apache.solr.handler.loader.JavabinLoader.parseAndLoadDocs(JavabinLoader.java:99)
>         at
org.apache.solr.handler.loader.JavabinLoader.load(JavabinLoader.java:58)
>         at
>
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
>         at
>
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
>         at
>
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1859)
>         at
>
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:710)
>         at
>
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:413)
>         at
>
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:197)
>         at
>
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
>         at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
>         at
>
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>         at
>
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>         at
>
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>         at
>
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
>         at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
>         at
>
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>         at
>
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
>         at
>
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>         at
>
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
>         at
>
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
>         at
>
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>         at org.eclipse.jetty.server.Server.handle(Server.java:368)
>         at
>
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
>         at
>
org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
>         at
>
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
>         at
>
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
>         at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:953)
>         at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>         at
>
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
>         at
>
org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
>         at
>
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>         at
>
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>         at java.lang.Thread.run(Unknown Source)
>
> Any idea how can I fix this?
>
>
>
> -----
> Best regards
> --
> View this message in context:
http://lucene.472066.n3.nabble.com/No-registered-leader-was-found-but-the-UI-says-that-I-have-tp4107244.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to