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

Irena Shaigorodsky commented on SOLR-13591:
-------------------------------------------

Experienced a similar issue:

 
{code:java}
org.apache.solr.client.solrj.SolrServerException: 
org.apache.solr.common.AlreadyClosedException
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:1002)
{code}
The issue happens with SolrJ 7.6, 7.7.2, 8.8.1, and httpclient library over 
than 4.5.3. Downgrading to 4.5.5 resolves the problem. The error looks like 
HTTP client issue.

 

> 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.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to