You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/11/20 02:56:09 UTC

[GitHub] [incubator-shardingsphere] xiaobai022sdo opened a new issue #3561: sharding-proxy enable zookeeper configuration start error , version: 4.0.0-RC4

xiaobai022sdo opened a new issue #3561: sharding-proxy enable zookeeper configuration start error ,version: 4.0.0-RC4
URL: https://github.com/apache/incubator-shardingsphere/issues/3561
 
 
   sharding-Proxy enable zookeeper configuration in server.yaml
   ##########
   orchestration:
     name: orchestration_ds
     overwrite: true
     registry:
       type: zookeeper
       serverLists: 172.16.251.58:2181
       namespace: orchestration
   ##################
   
   [INFO ] 10:49:13.732 [main] org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/data/sharding/apache-shardingsphere-incubating-4.0.0-RC4-SNAPSHOT-sharding-proxy-bin
   [INFO ] 10:49:13.733 [main] org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=172.16.251.58:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@78dd667e
   [INFO ] 10:49:13.755 [main-SendThread(172.16.251.58:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 172.16.251.58/172.16.251.58:2181. Will not attempt to authenticate using SASL (unknown error)
   [INFO ] 10:49:13.825 [main-SendThread(172.16.251.58:2181)] org.apache.zookeeper.ClientCnxn - Socket connection established to 172.16.251.58/172.16.251.58:2181, initiating session
   [INFO ] 10:49:15.255 [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting
   [INFO ] 10:49:17.418 [main-SendThread(172.16.251.58:2181)] org.apache.zookeeper.ClientCnxn - Session establishment complete on server 172.16.251.58/172.16.251.58:2181, sessionid = 0x102ad5dd41c0008, negotiated timeout = 40000
   [INFO ] 10:49:17.427 [main] org.apache.zookeeper.ZooKeeper - Session: 0x102ad5dd41c0008 closed
   [INFO ] 10:49:17.427 [main-EventThread] org.apache.zookeeper.ClientCnxn - EventThread shut down
   Exception in thread "main" org.apache.shardingsphere.orchestration.reg.exception.RegistryCenterException: org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode = OperationTimeout
   	at org.apache.shardingsphere.orchestration.reg.zookeeper.curator.CuratorZookeeperExceptionHandler.handleException(CuratorZookeeperExceptionHandler.java:53)
   	at org.apache.shardingsphere.orchestration.reg.zookeeper.curator.CuratorZookeeperRegistryCenter.initCuratorClient(CuratorZookeeperRegistryCenter.java:115)
   	at org.apache.shardingsphere.orchestration.reg.zookeeper.curator.CuratorZookeeperRegistryCenter.init(CuratorZookeeperRegistryCenter.java:75)
   	at org.apache.shardingsphere.orchestration.internal.registry.RegistryCenterServiceLoader.load(RegistryCenterServiceLoader.java:53)
   	at org.apache.shardingsphere.orchestration.internal.registry.ShardingOrchestrationFacade.<init>(ShardingOrchestrationFacade.java:58)
   	at org.apache.shardingsphere.shardingproxy.Bootstrap.startWithRegistryCenter(Bootstrap.java:109)
   	at org.apache.shardingsphere.shardingproxy.Bootstrap.main(Bootstrap.java:83)
   Caused by: org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode = OperationTimeout
   	at org.apache.shardingsphere.orchestration.reg.zookeeper.curator.CuratorZookeeperRegistryCenter.initCuratorClient(CuratorZookeeperRegistryCenter.java:112)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services