Based on the stack trace, it looks like the Solr collection create request
was not processed (or in-progress) on the overseer node. Can you check if
the Solr server hosting the overseer role is healthy and is connected to
Zookeeper ?

If there are no issues with the cluster, you can try using the async mode
for this operation.
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AsynchronousCalls


Thanks
Hrishikesh


On Mon, Jan 16, 2017 at 11:36 AM, Joe Obernberger <
joseph.obernber...@gmail.com> wrote:

> Hi All - trying to create a collection in Solr 6.3.0 on a 5 node cluster
> and getting a timeout error.  The cluster has a collection already, but I'm
> trying to make a new one.
>
> The UI reports 'Connection to Solr lost - Please check the Solr
> instance.'.  It is still running, but the log reports:
>
> 2017-01-16 19:34:07.865 INFO  (qtp606548741-235) [   ]
> o.a.s.h.a.CollectionsHandler Invoked Collection Action :create with params
> replicationFactor=1&routerName=compositeId&collection.
> configName=MINTEST&maxShardsPerNode=1&name=Space&router.name
> =compositeId&action=CREATE&numShards=1&wt=json&_=1484595286393 and
> sendToOCPQueue=true
> 2017-01-16 19:34:14.485 ERROR (qtp606548741-208) [   ]
> o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: create
> the collection time out:180s
>         at org.apache.solr.handler.admin.CollectionsHandler.handleRespo
> nse(CollectionsHandler.java:292)
>         at org.apache.solr.handler.admin.CollectionsHandler.handleReque
> stBody(CollectionsHandler.java:218)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(Req
> uestHandlerBase.java:153)
>         at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(Http
> SolrCall.java:660)
>         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:
> 441)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDisp
> atchFilter.java:303)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDisp
> atchFilter.java:254)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
> r(ServletHandler.java:1668)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHan
> dler.java:581)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
> Handler.java:143)
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHa
> ndler.java:548)
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(
> SessionHandler.java:226)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
> ContextHandler.java:1160)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHand
> ler.java:511)
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(
> SessionHandler.java:185)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(
> ContextHandler.java:1092)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
> Handler.java:141)
>         at org.eclipse.jetty.server.handler.ContextHandlerCollection.ha
> ndle(ContextHandlerCollection.java:213)
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(
> HandlerCollection.java:119)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Handl
> erWrapper.java:134)
>         at org.eclipse.jetty.server.Server.handle(Server.java:518)
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.
> java:308)
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConne
> ction.java:244)
>         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.
> succeeded(AbstractConnection.java:273)
>         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.
> java:95)
>         at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChann
> elEndPoint.java:93)
>         at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
> .produceAndRun(ExecuteProduceConsume.java:246)
>         at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
> .run(ExecuteProduceConsume.java:156)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Queued
> ThreadPool.java:654)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedT
> hreadPool.java:572)
>         at java.lang.Thread.run(Thread.java:745)
>
> Thanks for any ideas!
>
> -Joe
>

Reply via email to