[
https://issues.apache.org/jira/browse/SOLR-12222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570942#comment-16570942
]
ASF subversion and git services commented on SOLR-12222:
--------------------------------------------------------
Commit 896fd0ebd55aaafa51222aa9200e16f2dbb093e4 in lucene-solr's branch
refs/heads/master from Tomas Fernandez Lobbe
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=896fd0e ]
SOLR-12222: Improve TestDistributedSearch search
Consider the case when the distributed requests fails with timeAllowed before
it reaches the shards
> TestDistributedSearch failure: "Expected to find shardAddress in the up shard
> info"
> -----------------------------------------------------------------------------------
>
> Key: SOLR-12222
> URL: https://issues.apache.org/jira/browse/SOLR-12222
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Tomás Fernández Löbbe
> Priority: Minor
> Attachments: SOLR-12222.patch
>
>
> This is a pretty common failure of this test. Here is an example from a
> recent Jenkins failure
> {noformat}
> Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/1630/
> Java: 64bit/jdk-10 -XX:+UseCompressedOops -XX:+UseParallelGC
> 1 tests failed.
> FAILED: org.apache.solr.TestDistributedSearch.test
> Error Message:
> Expected to find shardAddress in the up shard info:
> {error=org.apache.solr.client.solrj.SolrServerException: Time allowed to
> handle this request
> exceeded,trace=org.apache.solr.client.solrj.SolrServerException: Time allowed
> to handle this request exceeded at
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:460)
> at
> org.apache.solr.handler.component.HttpShardHandlerFactory.makeLoadBalancedRequest(HttpShardHandlerFactory.java:273)
> at
> org.apache.solr.handler.component.HttpShardHandler.lambda$submit$0(HttpShardHandler.java:175)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
> at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:192)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:844) ,time=1}
> Stack Trace:
> java.lang.AssertionError: Expected to find shardAddress in the up shard info:
> {error=org.apache.solr.client.solrj.SolrServerException: Time allowed to
> handle this request
> exceeded,trace=org.apache.solr.client.solrj.SolrServerException: Time allowed
> to handle this request exceeded
> at
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:460)
> at
> org.apache.solr.handler.component.HttpShardHandlerFactory.makeLoadBalancedRequest(HttpShardHandlerFactory.java:273)
> at
> org.apache.solr.handler.component.HttpShardHandler.lambda$submit$0(HttpShardHandler.java:175)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
> at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:192)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:844)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]