The reload that you issue from the Admin Dashboard is a Core Admin
Reload i.e. it reloads the local core. The curl command that you are
executing is a Collection API Reload which reloads all shards
belonging to the collection. This command is currently capped to a 60
second timeout. It is fairly easy to run into this limit especially if
you have many shards/replicas.
Although the command times out, the Overseer will actually reload all
shards/replica. It is just that it is difficult to know when it's
finished. In future, SOLR-5477 will add an ability to perform such
actions asynchronously.
On Tue, Dec 17, 2013 at 7:34 PM, ade-b wrote:
> Hi
>
> We are getting connection timeout errors when trying to execute the RELOAD
> command against a collection in SOLR Cloud v4.5.1.
>
> We are issuing the command using curl on the solr server instance. The SOLR
> server seems to be functional in every other way. We can issue a reload via
> the admin dashboard successfully.
>
> We have tried restarting the SOLR server and still get the same timeout on
> issuing the curl command.
>
> We can telnet to the port SOLR is running on.
>
> The response from the curl command is:
>
>
>
> 500 name="QTime">60012 name="msg">reloadcollection the collection time out:60s name="trace">org.apache.solr.common.SolrException: reloadcollection the
> collection time out:60s
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:199)
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:180)
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleReloadAction(CollectionsHandler.java:221)
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:141)
> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> at
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:655)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:255)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:195)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> 500
>
>
>
> Any ideas?
>
> Thanks
> Ade
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/RELOAD-collection-via-HTTP-timeout-issue-solr-cloud-v4-5-1-tp4107102.html
> Sent from the Solr - User mailing list archive at Nabble.com.
--
Regards,
Shalin Shekhar Mangar.