[jira] [Commented] (SOLR-9956) Solr java.lang.ArrayIndexOutOfBoundsException when indexed large amount of documents
[ https://issues.apache.org/jira/browse/SOLR-9956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227826#comment-17227826 ] Erick Erickson commented on SOLR-9956: -- The resolution is "unresolved", so no. At this point it's highly doubtful that any new 6X releases will be made, we should probably close this. > Solr java.lang.ArrayIndexOutOfBoundsException when indexed large amount of > documents > > > Key: SOLR-9956 > URL: https://issues.apache.org/jira/browse/SOLR-9956 > Project: Solr > Issue Type: Bug > Components: SolrCloud >Affects Versions: 6.2.1, 6.3 > Environment: Ubuntu 14.04.4 LTS >Reporter: Zhu JiaJun >Priority: Critical > Labels: query, solr, stats > Attachments: solr.log > > > I'm using solr 6.3.0. I indexed a big amount of docuements into one solr > collection with one shard, it's 60G in the disk, which has around 2506889 > documents. > I frequently get the ArrayIndexOutOfBoundsException when I send a simple > stats request, for example: > http://localhost:8983/solr/staging-update/select?start=0&rows=0&version=2.2&q=*:*&stats=true&timeAllowed=6&wt=json&stats.field=asp_community_facet&stats.field=asp_group_facet > The solr log capture following exception as well as in the response like > below: > {code} > { > "responseHeader": { > "zkConnected": true, > "status": 500, > "QTime": 11, > "params": { > "q": "*:*", > "stats": "true", > "start": "0", > "timeAllowed": "6", > "rows": "0", > "version": "2.2", > "wt": "json", > "stats.field": [ > "asp_community_facet", > "asp_group_facet" > ] > } > }, > "response": { > "numFound": 2506211, > "start": 0, > "docs": [ ] > }, > "error": { > "msg": "28", > "trace": "java.lang.ArrayIndexOutOfBoundsException: 28\n\tat > org.apache.solr.request.DocValuesStats.accumMulti(DocValuesStats.java:213)\n\tat > > org.apache.solr.request.DocValuesStats.getCounts(DocValuesStats.java:135)\n\tat > > org.apache.solr.handler.component.StatsField.computeLocalStatsValues(StatsField.java:424)\n\tat > > org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:58)\n\tat > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)\n\tat > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:153)\n\tat > org.apache.solr.core.SolrCore.execute(SolrCore.java:2213)\n\tat > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)\n\tat > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)\n\tat > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:303)\n\tat > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)\n\tat > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\n\tat > > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\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.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)\n\tat > > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\n\tat > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)\n\tat > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat > > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat > org.eclipse.jetty.server.Server.handle(Server.java:518)\n\tat > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)\n\tat > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)\n\tat > > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)\n\tat > org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)\n\tat > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat > > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(E
[jira] [Commented] (SOLR-9956) Solr java.lang.ArrayIndexOutOfBoundsException when indexed large amount of documents
[ https://issues.apache.org/jira/browse/SOLR-9956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227727#comment-17227727 ] sajit vasudevan commented on SOLR-9956: --- We are encountering a similar issue for large document and metadata with SOLR 6.6.5. Was this issue fixed? > Solr java.lang.ArrayIndexOutOfBoundsException when indexed large amount of > documents > > > Key: SOLR-9956 > URL: https://issues.apache.org/jira/browse/SOLR-9956 > Project: Solr > Issue Type: Bug > Components: SolrCloud >Affects Versions: 6.2.1, 6.3 > Environment: Ubuntu 14.04.4 LTS >Reporter: Zhu JiaJun >Priority: Critical > Labels: query, solr, stats > Attachments: solr.log > > > I'm using solr 6.3.0. I indexed a big amount of docuements into one solr > collection with one shard, it's 60G in the disk, which has around 2506889 > documents. > I frequently get the ArrayIndexOutOfBoundsException when I send a simple > stats request, for example: > http://localhost:8983/solr/staging-update/select?start=0&rows=0&version=2.2&q=*:*&stats=true&timeAllowed=6&wt=json&stats.field=asp_community_facet&stats.field=asp_group_facet > The solr log capture following exception as well as in the response like > below: > {code} > { > "responseHeader": { > "zkConnected": true, > "status": 500, > "QTime": 11, > "params": { > "q": "*:*", > "stats": "true", > "start": "0", > "timeAllowed": "6", > "rows": "0", > "version": "2.2", > "wt": "json", > "stats.field": [ > "asp_community_facet", > "asp_group_facet" > ] > } > }, > "response": { > "numFound": 2506211, > "start": 0, > "docs": [ ] > }, > "error": { > "msg": "28", > "trace": "java.lang.ArrayIndexOutOfBoundsException: 28\n\tat > org.apache.solr.request.DocValuesStats.accumMulti(DocValuesStats.java:213)\n\tat > > org.apache.solr.request.DocValuesStats.getCounts(DocValuesStats.java:135)\n\tat > > org.apache.solr.handler.component.StatsField.computeLocalStatsValues(StatsField.java:424)\n\tat > > org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:58)\n\tat > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)\n\tat > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:153)\n\tat > org.apache.solr.core.SolrCore.execute(SolrCore.java:2213)\n\tat > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)\n\tat > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)\n\tat > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:303)\n\tat > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)\n\tat > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\n\tat > > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\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.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)\n\tat > > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\n\tat > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)\n\tat > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat > > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat > org.eclipse.jetty.server.Server.handle(Server.java:518)\n\tat > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)\n\tat > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)\n\tat > > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)\n\tat > org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)\n\tat > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat > > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)\n\ta