lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forest Soup (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-6156) Exception while using group with timeAllowed on SolrCloud.
Date Wed, 22 Apr 2015 09:21:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506695#comment-14506695
] 

Forest Soup edited comment on SOLR-6156 at 4/22/15 9:20 AM:
------------------------------------------------------------

We have the same issue on solr 4.7, when we issue a request like this(I only paste the xml
format header here with some replacement):
<lst name="responseHeader">
<int name="status">500</int>
<int name="QTime">11</int>
<lst name="params">
<str name="_route_">Q049Y2RsMi1tYWlsMDcvTz1zY24y12345678!</str>
<str name="facet">true</str>
<str name="facet.mincount">1</str>
<str name="facet.limit">13</str>
<str name="facet.range">date</str>
<str name="facet.range.end">NOW/DAY+1DAY</str>
<str name="facet.range.gap">+1DAY</str>
<str name="wt">xml</str>
<str name="rows">0</str>
<str name="df">body</str>
<str name="start">0</str>
<str name="q">
((owner:12345678) AND (servername:"mail07")) AND (((funid:38D46BF5E8F08834852564B50129B2C))
(softdeletion:0))
</str>
<str name="facet.range.start">NOW/DAY-31DAY</str>
<str name="q.op">AND</str>
<str name="timeAllowed">60000</str>
<str name="group.field">tua0</str>
<str name="group.sort">date desc</str>
<str name="group">true</str>
<arr name="facet.field">
<str>strinetfrom</str>
<str>funid</str>
</arr>
</lst>
</lst>

If we remove the timeAllowed=60000, there is no that issue.

We have all cores active according to /clusterstates.json and /live_nodes  in both Admin UI
and in ZooKeeper.

We have the response:
{
  "error": {
    "msg": "org.apache.solr.client.solrj.SolrServerException: No live SolrServers available
to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]",
    "trace": "org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:308)\n\tat
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat
org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)\n\tat org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)\n\tat
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)\n\tat
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\n\tat
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat
java.lang.Thread.run(Thread.java:804)\nCaused by: org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]\n\tat org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:387)\n\tat
org.apache.solr.handler.component.HttpShardHandlerFactory.makeLoadBalancedRequest(HttpShardHandlerFactory.java:205)\n\tat
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:161)\n\tat
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:118)\n\tat
java.util.concurrent.FutureTask.run(FutureTask.java:273)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)\n\tat
java.util.concurrent.FutureTask.run(FutureTask.java:273)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)\n\t... 1 more\nCaused
by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Internal Server
Error\n\nrequest: https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1/select\n\tat
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:495)\n\tat org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199)\n\tat
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:302)\n\t...
9 more\n",
    "code": 500
  }


The error log is :
2015/4/22 下午5:00:16
ERROR
SolrCore
java.lang.NullPointerException
java.lang.NullPointerException
	at org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
	at org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
	at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
	at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
	at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:336)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:214)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)
	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:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	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:314)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:804)
2015/4/22 下午5:00:16
ERROR
SolrDispatchFilter
null:java.lang.NullPointerException
null:java.lang.NullPointerException
	at org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
	at org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
	at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
	at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
	at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:336)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:214)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)
	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:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	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:314)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:804)
}


was (Author: forest_soup):
We have the same issue, when we issue a request like this(I only paste the xml format header
here with some replacement):
<lst name="responseHeader">
<int name="status">500</int>
<int name="QTime">11</int>
<lst name="params">
<str name="_route_">Q049Y2RsMi1tYWlsMDcvTz1zY24y12345678!</str>
<str name="facet">true</str>
<str name="facet.mincount">1</str>
<str name="facet.limit">13</str>
<str name="facet.range">date</str>
<str name="facet.range.end">NOW/DAY+1DAY</str>
<str name="facet.range.gap">+1DAY</str>
<str name="wt">xml</str>
<str name="rows">0</str>
<str name="df">body</str>
<str name="start">0</str>
<str name="q">
((owner:12345678) AND (servername:"mail07")) AND (((funid:38D46BF5E8F08834852564B50129B2C))
(softdeletion:0))
</str>
<str name="facet.range.start">NOW/DAY-31DAY</str>
<str name="q.op">AND</str>
<str name="timeAllowed">60000</str>
<str name="group.field">tua0</str>
<str name="group.sort">date desc</str>
<str name="group">true</str>
<arr name="facet.field">
<str>strinetfrom</str>
<str>funid</str>
</arr>
</lst>
</lst>

If we remove the timeAllowed=60000, there is no that issue.

We have all cores active according to /clusterstates.json and /live_nodes  in both Admin UI
and in ZooKeeper.

We have the response:
{
  "error": {
    "msg": "org.apache.solr.client.solrj.SolrServerException: No live SolrServers available
to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]",
    "trace": "org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:308)\n\tat
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat
org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)\n\tat org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)\n\tat
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)\n\tat
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\n\tat
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat
java.lang.Thread.run(Thread.java:804)\nCaused by: org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[https://hij2-solr1.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica2,
https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1]\n\tat org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:387)\n\tat
org.apache.solr.handler.component.HttpShardHandlerFactory.makeLoadBalancedRequest(HttpShardHandlerFactory.java:205)\n\tat
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:161)\n\tat
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:118)\n\tat
java.util.concurrent.FutureTask.run(FutureTask.java:273)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)\n\tat
java.util.concurrent.FutureTask.run(FutureTask.java:273)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)\n\t... 1 more\nCaused
by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Internal Server
Error\n\nrequest: https://hij2-solr2.fen.def2.cn.abc.com:8443/solr/collection1_shard2_replica1/select\n\tat
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:495)\n\tat org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199)\n\tat
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:302)\n\t...
9 more\n",
    "code": 500
  }


The error log is :
2015/4/22 下午5:00:16
ERROR
SolrCore
java.lang.NullPointerException
java.lang.NullPointerException
	at org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
	at org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
	at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
	at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
	at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:336)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:214)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)
	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:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	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:314)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:804)
2015/4/22 下午5:00:16
ERROR
SolrDispatchFilter
null:java.lang.NullPointerException
null:java.lang.NullPointerException
	at org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
	at org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
	at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
	at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
	at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:336)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:214)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1916)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)
	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:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	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:314)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:804)
}

> Exception while using group with timeAllowed on SolrCloud.
> ----------------------------------------------------------
>
>                 Key: SOLR-6156
>                 URL: https://issues.apache.org/jira/browse/SOLR-6156
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Modassar Ather
>
> Following exception is thrown when using grouping with timeAllowed. Solr version used
is 4.8.0.
> SEVERE: null:org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: java.lang.NullPointerException
>         at org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
>         at org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
>         at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
>         at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
>         at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
>         at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
>         at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:338)
>         at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
>         at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message