You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2022/02/03 13:22:00 UTC

[jira] [Resolved] (SOLR-15975) Getting an EndOfStreamException when using solr zk command-line

     [ https://issues.apache.org/jira/browse/SOLR-15975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Pugh resolved SOLR-15975.
------------------------------
    Resolution: Duplicate

This error doesn't actually matter, it's mostly an annoyance.  However, it is fixed by SOLR-15968.

> Getting an EndOfStreamException when using solr zk command-line
> ---------------------------------------------------------------
>
>                 Key: SOLR-15975
>                 URL: https://issues.apache.org/jira/browse/SOLR-15975
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: cli
>    Affects Versions: 8.11.1
>         Environment: Windows Server 2019
> Microsoft JDK
>            Reporter: Ryan Cole
>            Priority: Minor
>              Labels: cli, windows, zookeeper
>
> Hi folks,
> We recently started using Solr 8.11.1 and have been receiving an EndOfStreamException when using the solr zk command-line client. I've not seen the exception when using other solr command-line features that are unrelated to zookeeper.
> The error typically does not show up for the first command issued during a Windows session, but begins showing up on all subsequent uses of the solr zk CLI.
> Below is a sample of a the error and the fact that it does not show up until the 2nd command and beyond ...
> {code:java}
> PS C:\Users\wib\Desktop> solr zk rm -r "/configs/wib_default" -z localhost:9983
> Removing ZooKeeper node /configs/wib_default from ZooKeeper at localhost:9983 recurse: true
> PS C:\Users\wib\Desktop> solr zk rm -r "/configs/tags_default" -z localhost:9983
> Removing ZooKeeper node /configs/tags_default from ZooKeeper at localhost:9983 recurse: true
> WARN  - 2022-02-03 02:07:22.445; org.apache.zookeeper.ClientCnxn; An exception was thrown while closing send thread for session 0x1000002e3070002. => EndOfStreamException: Unable to read additional data from server sessionid 0x1000002e3070002, likely server has closed socket
>         at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77)
> org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000002e3070002, likely server has closed socket
>         at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[zookeeper-3.6.2.jar:3.6.2]
>         at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[zookeeper-3.6.2.jar:3.6.2]
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1275) [zookeeper-3.6.2.jar:3.6.2]
> {code}
> And below is the output of my java version ...
> {code:java}
> PS C:\Users\wib\Desktop> java -version
> openjdk version "17.0.1" 2021-10-19 LTS
> OpenJDK Runtime Environment Microsoft-28056 (build 17.0.1+12-LTS)
> OpenJDK 64-Bit Server VM Microsoft-28056 (build 17.0.1+12-LTS, mixed mode, sharing)
> {code}
> We're using Windows 2019 on Azure with the Microsoft build of the JDK.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org