As Joseph mentioned, the shard split is still running the background. In case it fails (it shouldn't), if you're running Solr 4.8 or newer, I would recommend using the ASYNC calls for long running collections API calls as they have an accompanying REQUESTSTATUS Api call that gets you a confirmation of task completion/failure. e.g. http: //localhost:8983/solr/admin/collections?action=SPLITSHARD&collection=collection1&shard=shard1&async=1000
REQUESTSTATUS Call: http: //localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=1000 On Tue, Dec 16, 2014 at 10:37 AM, Joseph Obernberger < joseph.obernber...@gmail.com> wrote: > > Shard splits can take a long time - the 900 seconds is just the REST > timeout. The split is still taking place. > > On Tue, Dec 16, 2014 at 12:43 PM, Trilok Prithvi <trilok.prit...@gmail.com > > > wrote: > > > > Sorry... I sent without explaining the situation. > > > > We did splitshard: > > > > > solr/admin/collections?action=SPLITSHARD&collection=anotherCollection&shard=shard1 > > and we got the above error. > > > > Any idea? > > > > > > > > On Tue, Dec 16, 2014 at 10:41 AM, Trilok Prithvi < > trilok.prit...@gmail.com > > > > > wrote: > > > > > > <response> > > > <lst name="responseHeader"> > > > <int name="status">500</int> > > > <int name="QTime">900395</int> > > > </lst> > > > <lst name="error"> > > > <str name="msg">splitshard the collection time out:900s</str> > > > <str name="trace"> > > > org.apache.solr.common.SolrException: splitshard the collection time > > > out:900s at > > > > > > org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:368) > > > at > > > > > > org.apache.solr.handler.admin.CollectionsHandler.handleSplitShardAction(CollectionsHandler.java:606) > > > at > > > > > > org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:172) > > > at > > > > > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) > > > at > > > > > > org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:729) > > > at > > > > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:267) > > > at > > > > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > > > at > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) > > > at > > > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) > > > at > > > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) > > > at > > > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) > > > at > > > > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) > > > at > > > > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > > > at > > > > > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) > > > at > > > > > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) > > > at > > > > > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) > > > 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) > > > </str> > > > <int name="code">500</int> > > > </lst> > > > </response> > > > > > > -- Anshum Gupta http://about.me/anshumgupta