Description
To reproduce:
bin/solr start -c bin/solr zk ls /configs/_default
You will see a response like this
$ solr zk ls /configs/_default/ managed-schema protwords.txt solrconfig.xml synonyms.txt stopwords.txt lang WARN - 2022-02-01 13:14:48.160; org.apache.zookeeper.ClientCnxn; An exception was thrown while closing send thread for session 0x200008ad548000a. => EndOfStreamException: Unable to read additional data from server sessionid 0x200008ad548000a, 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 0x200008ad548000a, 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]
The command seems to succeed, so this is more an unclean shutdown of zookeeper client.
The same error message can be seen in Jenkins tests, such as this https://jenkins.thetaphi.de/view/Solr/job/Solr-main-Windows/612/testReport/junit/org.apache.solr.cloud/SolrCLIZkUtilsTest/testCp/
Attachments
Issue Links
- duplicates
-
SOLR-15975 Getting an EndOfStreamException when using solr zk command-line
- Resolved
- is broken by
-
ZOOKEEPER-4376 Zookeeper should not warn about "An exception was thrown while closing send thread"
- Open
-
ZOOKEEPER-4515 ZK Cli quit command always logs error
- Closed
- links to