2022-01-26T19:45:50,374+0800 [main-EventThread] INFO org.apache.curator.framework.imps.EnsembleTracker - New config event received: {server.1=10.0.2.15:2881:3881:participant, version=0, server.3=10.0.2.15:2883:3883:participant, server.2=10 .0.2.15:2882:3882:participant}
2022-01-26T19:45:50,378+0800 [main-EventThread] ERROR org.apache.curator.framework.imps.EnsembleTracker - Invalid config event received: {server.1=10.0.2.15:2881:3881:participant, version=0, server.3=10.0.2.15:2883:3883:participant, server. 2=10.0.2.15:2882:3882:participant}
2022-01-26T19:45:50,379+0800 [main-EventThread] INFO org.apache.curator.framework.imps.EnsembleTracker - New config event received: {server.1=10.0.2.15:2881:3881:participant, version=0, server.3=10.0.2.15:2883:3883:participant, server.2=10 .0.2.15:2882:3882:participant}
2022-01-26T19:45:50,380+0800 [main-EventThread] ERROR org.apache.curator.framework.imps.EnsembleTracker - Invalid config event received: {server.1=10.0.2.15:2881:3881:participant, version=0, server.3=10.0.2.15:2883:3883:participant, server. 2=10.0.2.15:2882:3882:participant}
2022-01-26T19:45:50,452+0800 [main] INFO org.apache.bookkeeper.stream.storage.impl.cluster.ZkClusterInitializer - Loaded cluster metadata :
num_storage_containers: 16
2022-01-26T19:45:50,457+0800 [Curator-Framework-0] INFO org.apache.curator.framework.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting
2022-01-26T19:45:50,475+0800 [main-SendThread(10.0.2.15:2181)] WARN org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send thread for session 0x1000030c7870003.
org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000030c7870003, likely server has closed socket
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
2022-01-26T19:45:50,579+0800 [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x1000030c7870003 closed
2022-01-26T19:45:50,579+0800 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x1000030c7870003
2022-01-26T19:45:51,224+0800 [main-SendThread(10.0.2.15:2181)] WARN org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send thread for session 0x1000030c7870000.
org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000030c7870000, likely server has closed socket
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
2022-01-26T19:45:51,325+0800 [main-EventThread] INFO org.apache.pulsar.metadata.impl.ZKSessionWatcher - Got ZK session watch event: WatchedEvent state:Closed type:None path:null
2022-01-26T19:45:51,325+0800 [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x1000030c7870000 closed
2022-01-26T19:45:51,326+0800 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x1000030c7870000
2022-01-26T19:45:51,338+0800 [main-SendThread(10.0.2.15:2181)] WARN org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send thread for session 0x1000030c7870001.
org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000030c7870001, likely server has closed socket
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
2022-01-26T19:45:51,439+0800 [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x1000030c7870001 closed
2022-01-26T19:45:51,439+0800 [main-EventThread] INFO org.apache.pulsar.metadata.impl.ZKSessionWatcher - Got ZK session watch event: WatchedEvent state:Closed type:None path:null
2022-01-26T19:45:51,439+0800 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x1000030c7870001
2022-01-26T19:45:51,440+0800 [main] INFO org.apache.pulsar.PulsarClusterMetadataSetup - Cluster metadata for 'pulsar-cluster-ghy' setup correctly
[ghy@localhost bin]$
Original Issue: apache/pulsar#13966
https://blog.csdn.net/haohaoxuexiyai/article/details/120818539
please update curator 5.2 !