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

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

Markus Jelsma created SOLR-13591:
------------------------------------

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