linghengqian commented on issue #13234:
URL: 
https://github.com/apache/shardingsphere/issues/13234#issuecomment-951213292


   @zjcnb According to your prompt, I am sure the same error will still be 
reported after switching the dataDir.
   I checked the source code provided by Apache Curator and changed digest to 
`admin:123456`, which throws the same exception whether I change it or not.(I 
have reconfigured it on the cloud server. In order to facilitate the 
explanation of the issue, I still change the log in the log to `127.0.01:2181`)
   
   ```shell
   [WARN ] 2021-10-26 02:51:56.635 [main-SendThread(127.0.0.1:2181)] 
org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send 
thread for session 0x1000d6a118f0021.
   org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read 
additional data from server sessionid 0x1000d6a118f0021, likely server has 
closed socket
           at 
org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:75)
           at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:348)
           at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1262)
   [INFO ] 2021-10-26 02:51:56.740 [main] org.apache.zookeeper.ZooKeeper - 
Session: 0x1000d6a118f0021 closed
   [INFO ] 2021-10-26 02:51:56.740 [main-EventThread] 
org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 
0x1000d6a118f0021
   Exception in thread "main" 
org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryException:
 org.apache.zookeeper.KeeperException$OperationTimeoutException: 
KeeperErrorCode = OperationTimeout
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.handler.CuratorZookeeperExceptionHandler.handleException(CuratorZookeeperExceptionHandler.java:51)
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:128)
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.init(CuratorZookeeperRepository.java:82)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.createClusterPersistRepository(ClusterContextManagerBuilder.java:115)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.beforeBuildContextManager(ClusterContextManagerBuilder.java:92)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:82)
           at 
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.initContext(BootstrapInitializer.java:77)
           at 
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:68)
           at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
   Caused by: org.apache.zookeeper.KeeperException$OperationTimeoutException: 
KeeperErrorCode = OperationTimeout
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:125)
           ... 7 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to