How can I resolve this error? On Wed, Jun 20, 2018 at 9:11 AM, Alexandre Rafalovitch <arafa...@gmail.com> wrote:
> This seems more related to an old index upgraded to latest Solr rather than > the split itself. > > Regards, > Alex > > On Wed, Jun 20, 2018, 12:07 PM Sushant Vengurlekar, < > svengurle...@curvolabs.com> wrote: > > > Thanks for the reply Alessandro! Appreciate it. > > > > Below is the full request and the error received > > > > curl ' > > > > http://localhost:8081/solr/admin/collections?action= > SPLITSHARD&collection=dev-transactions&shard=shard1 > > ' > > > > { > > > > "responseHeader":{ > > > > "status":500, > > > > "QTime":7920}, > > > > "success":{ > > > > "solr-1:8081_solr":{ > > > > "responseHeader":{ > > > > "status":0, > > > > "QTime":1190}, > > > > "core":"dev-transactions_shard1_0_replica_n3"}, > > > > "solr-1:8081_solr":{ > > > > "responseHeader":{ > > > > "status":0, > > > > "QTime":1047}, > > > > "core":"dev-transactions_shard1_1_replica_n4"}, > > > > "solr-1:8081_solr":{ > > > > "responseHeader":{ > > > > "status":0, > > > > "QTime":6}}, > > > > "solr-1:8081_solr":{ > > > > "responseHeader":{ > > > > "status":0, > > > > "QTime":1009}}}, > > > > "failure":{ > > > > > > "solr-1:8081_solr":"org.apache.solr.client.solrj.impl.HttpSolrClient$ > RemoteSolrException:Error > > from server at http://solr-1:8081/solr: > > java.lang.IllegalArgumentException: > > Cannot merge a segment that has been created with major version 6 into > this > > index which has been created by major version 7"}, > > > > "Operation splitshard caused > > > > exception:":"org.apache.solr.common.SolrException:org. > apache.solr.common.SolrException: > > SPLITSHARD failed to invoke SPLIT core admin command", > > > > "exception":{ > > > > "msg":"SPLITSHARD failed to invoke SPLIT core admin command", > > > > "rspCode":500}, > > > > "error":{ > > > > "metadata":[ > > > > "error-class","org.apache.solr.common.SolrException", > > > > "root-error-class","org.apache.solr.common.SolrException"], > > > > "msg":"SPLITSHARD failed to invoke SPLIT core admin command", > > > > "trace":"org.apache.solr.common.SolrException: SPLITSHARD failed to > > invoke SPLIT core admin command\n\tat > > > > org.apache.solr.client.solrj.SolrResponse.getException( > SolrResponse.java:53)\n\tat > > > > org.apache.solr.handler.admin.CollectionsHandler.invokeAction( > CollectionsHandler.java:258)\n\tat > > > > org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody( > CollectionsHandler.java:230)\n\tat > > > > org.apache.solr.handler.RequestHandlerBase.handleRequest( > RequestHandlerBase.java:195)\n\tat > > > > org.apache.solr.servlet.HttpSolrCall.handleAdmin( > HttpSolrCall.java:736)\n\tat > > > > org.apache.solr.servlet.HttpSolrCall.handleAdminRequest( > HttpSolrCall.java:717)\n\tat > > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:498)\n\tat > > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter( > SolrDispatchFilter.java:384)\n\tat > > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter( > SolrDispatchFilter.java:330)\n\tat > > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1629)\n\tat > > > > org.eclipse.jetty.servlet.ServletHandler.doHandle( > ServletHandler.java:533)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:143)\n\tat > > > > org.eclipse.jetty.security.SecurityHandler.handle( > SecurityHandler.java:548)\n\tat > > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:132)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler. > nextHandle(ScopedHandler.java:190)\n\tat > > > > org.eclipse.jetty.server.session.SessionHandler. > doHandle(SessionHandler.java:1595)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler. > nextHandle(ScopedHandler.java:188)\n\tat > > > > org.eclipse.jetty.server.handler.ContextHandler. > doHandle(ContextHandler.java:1253)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler. > nextScope(ScopedHandler.java:168)\n\tat > > > > org.eclipse.jetty.servlet.ServletHandler.doScope( > ServletHandler.java:473)\n\tat > > > > org.eclipse.jetty.server.session.SessionHandler. > doScope(SessionHandler.java:1564)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler. > nextScope(ScopedHandler.java:166)\n\tat > > > > org.eclipse.jetty.server.handler.ContextHandler. > doScope(ContextHandler.java:1155)\n\tat > > > > org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:141)\n\tat > > > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle( > ContextHandlerCollection.java:219)\n\tat > > > > org.eclipse.jetty.server.handler.HandlerCollection. > handle(HandlerCollection.java:126)\n\tat > > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:132)\n\tat > > > > org.eclipse.jetty.rewrite.handler.RewriteHandler.handle( > RewriteHandler.java:335)\n\tat > > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:132)\n\tat > > org.eclipse.jetty.server.Server.handle(Server.java:530)\n\tat > > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)\n\tat > > > > org.eclipse.jetty.server.HttpConnection.onFillable( > HttpConnection.java:256)\n\tat > > org.eclipse.jetty.io > > .AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)\ > n\tat > > org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)\n\tat > > org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)\n\ > tat > > > > org.eclipse.jetty.util.thread.strategy.EatWhatYouKill. > doProduce(EatWhatYouKill.java:247)\n\tat > > > > org.eclipse.jetty.util.thread.strategy.EatWhatYouKill. > produce(EatWhatYouKill.java:140)\n\tat > > > > org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run( > EatWhatYouKill.java:131)\n\tat > > > > org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run( > ReservedThreadExecutor.java:382)\n\tat > > > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( > QueuedThreadPool.java:708)\n\tat > > > > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run( > QueuedThreadPool.java:626)\n\tat > > java.lang.Thread.run(Thread.java:748)\n", > > > > "code":500}} > > > > > > On Wed, Jun 20, 2018 at 2:25 AM, Alessandro Benedetti < > > a.benede...@sease.io> > > wrote: > > > > > Hi, > > > in the first place, why do you want to split 2 Gb indexes ? > > > Nowadays is a fairly small index. > > > > > > Secondly what you reported is incomplete. > > > I would expect a Caused By section in the stacktrace. > > > > > > This are generic recommendations, always spend time in analysing the > > > problem > > > you had scrupulously. > > > - SolrCloud problems often involve more than one node. Be sure to check > > the > > > logs of all the nodes possibly involved. > > > - Report the full stack trace to the community > > > - Report your full request which provoked the exception > > > > > > Help is much easier this way :) > > > > > > Regards > > > > > > > > > > > > > > > ----- > > > --------------- > > > Alessandro Benedetti > > > Search Consultant, R&D Software Engineer, Director > > > Sease Ltd. - www.sease.io > > > -- > > > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html > > > > > >