lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkadi Colson <ark...@smartbit.be>
Subject Re: shard splitting
Date Wed, 22 May 2013 09:04:36 GMT
clusterstate.json is now reporting shard3 as inactive. Any idea how to 
change clusterstate.json manually from commandline?

On 05/22/2013 08:59 AM, Arkadi Colson wrote:
> Hi
>
>
> I tried to split a shard but it failed. If I try to do it again it 
> does not start again.
> I see the to extra shards in /collections/messages/leader_elect/ and 
> /collections/messages/leaders/
> How can I fix this?
>
>
> root@solr07-dcg:/solr/messages_shard3_replica2# curl 
> 'http://localhost:8983/solr/admin/collections?action=SPLITSHARD&collection=messages&shard=shard3'
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">500</int><int 
> name="QTime">300117</int></lst><lst name="error"><str 
> name="msg">splitshard the collection time out:300s</str><str 
> name="trace">org.apache.solr.common.SolrException: splitshard the 
> collection time out:300s
>     at 
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:166)
>     at 
> org.apache.solr.handler.admin.CollectionsHandler.handleSplitShardAction(CollectionsHandler.java:300)
>     at 
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:136)
>     at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>     at 
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:608)
>     at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:215)
>     at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:155)
>     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:99)
>     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:1008)
>     at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>     at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>     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:722)
> </str><int name="code">500</int></lst>
> </response>
>
> INFO  - 2013-05-22 06:45:54.148; 
> org.apache.solr.handler.admin.CoreAdminHandler; Invoked split action 
> for core: messages_shard3_replica1
> INFO  - 2013-05-22 06:45:54.271; 
> org.apache.solr.update.SolrIndexSplitter; SolrIndexSplitter: 
> partitions=2 segments=29
> INFO  - 2013-05-22 06:46:03.240; 
> org.apache.solr.update.SolrIndexSplitter; SolrIndexSplitter: partition 
> #0 range=2aaa0000-5554ffff
>
>
> BR
> Arkadi
>
>


Mime
View raw message