You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2019/07/02 13:30:00 UTC

[jira] [Commented] (SOLR-13591) AlreadyClosedException in SolrJ

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

Jason Gerlowski commented on SOLR-13591:
----------------------------------------

AlreadyClosedException sounds like it _could_ be ZooKeeper connection issues.  Have you looked at the ZK logs to rule that out?  With just the stacktrace (for an IO issue that comes up frequently), I'm not sure this JIRA is very actionable.

> AlreadyClosedException in SolrJ
> -------------------------------
>
>                 Key: SOLR-13591
>                 URL: https://issues.apache.org/jira/browse/SOLR-13591
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.1.1
>            Reporter: Markus Jelsma
>            Priority: Major
>             Fix For: master (9.0), 8.2
>
>
> Since upgrading from 7.7 to 8.1, we regulary get the following exception in SolrJ. The message is null, the stack trace is:
> {code}
> org.apache.solr.common.AlreadyClosedException
> 	at org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.getZkStateReader(ZkClientClusterStateProvider.java:165)
> 	at org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.connect(ZkClientClusterStateProvider.java:160)
> 	at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.connect(BaseCloudSolrClient.java:329)
> 	at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:779)
> 	at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:769)
> 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:207)
> 	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:987)
> 	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1002)
> {code}
> The clients are always 8.1.1, the servers are either 7.5 or 8.1.1. There are no indications in the server logs, although they are set to log level WARN.
> We run Zookeeper 3.4.13.



--
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