Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15968

bin/solr zk always throws exception

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 9.0, 8.11.2
    • None
    • None

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            janhoy Jan Høydahl
            janhoy Jan Høydahl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment