lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12245) DistributedUpdateProcessor doesn't set MDC in some errors
Date Thu, 19 Apr 2018 18:19:00 GMT

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

Varun Thacker commented on SOLR-12245:
--------------------------------------

Here's another stack trace. This one mentions the replica name so we know for which collection
is the problem for
{code:java}
date time ERROR [qtp1131184204-253907] ? (:) - Setting up to try to start recovery on replica
https://host:port/solr/collection_shardN_replicaY/
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[]
...
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) ~[httpclient-4.4.1.jar:4.4.1]
at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.sendUpdateStream(ConcurrentUpdateSolrClient.java:311)
~[solr-solrj-solr-version.jar:solr-version 593a03a2847d2e1f312bef99ce26601e982b9377 - RM -
time]
at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.run(ConcurrentUpdateSolrClient.java:184)
~[solr-solrj-solr-version.jar:solr-version 593a03a2847d2e1f312bef99ce26601e982b9377 - RM -
time]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
~[metrics-core-3.2.2.jar:3.2.2]
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:237)
~[solr-solrj-solr-version.jar:solr-version 593a03a2847d2e1f312bef99ce26601e982b9377 - RM -
time]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[]
at java.lang.Thread.run(Thread.java:748) []{code}

> DistributedUpdateProcessor doesn't set MDC in some errors
> ---------------------------------------------------------
>
>                 Key: SOLR-12245
>                 URL: https://issues.apache.org/jira/browse/SOLR-12245
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6.2
>            Reporter: Varun Thacker
>            Priority: Major
>
> I'm getting this error in the solr logs, but it's not possible to tell which shard and
collection is the request for
>  
> {code:java}
> date time ERROR [qtp1232773650-563731] ? (:) - null:org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException:
Async exception during distributed update: Read timed out
> at org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(DistributedUpdateProcessor.java:972)
> at org.apache.solr.update.processor.DistributedUpdateProcessor.finish(DistributedUpdateProcessor.java:1911)
> at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:78)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)
> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305){code}
> We should mention the shard / replica and collection name who is distributing the update



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message