Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Gyrex » WHY ZOOKEEPER GATE IS DOWN
icon9.gif  WHY ZOOKEEPER GATE IS DOWN [message #1719229] Wed, 06 January 2016 11:34 Go to next message
Sean Zhang is currently offline Sean ZhangFriend
Messages: 20
Registered: July 2015
Location: China
Junior Member

Firstly, I deployed three servers as a cluster, and it could run properly for about 7 days, and then I would get that the gyrex cannot connect to the zookeeper. The gyrex would report that the zookeeper gate was down. But the zookeeper was alive without any problem.

At the same time, I could get the error in the admin console. Please check the exception in the attached screen shot.
index.php/fa/24508/0/

And I got following exception in the application log:
18:52:59.094 [ZooKeeper Gate Connect Thread-EventThread] ERROR o.e.g.c.internal.zk.ZooKeeperGate - There have been too many connection state changes within the last minute. ZooKeeper session will be expired. [ZooKeeperGate CURRENT Disconnected FLAPPING [State:CONNECTED Timeout:30000 sessionid:0x15207f935c2009e local:/10.104.28.7:58689 remoteserver:zoo1/10.190.140.87:2181 lastZxid:4298815281 xid:80 sent:82 recv:79 queuedpkts:0 pendingresp:1 queuedevents:1]]
18:53:10.007 [ZooKeeper Gate Connect Thread-EventThread] ERROR o.e.g.c.internal.zk.ZooKeeperGate - There have been too many connection state changes within the last minute. ZooKeeper session will be expired. [ZooKeeperGate CURRENT Disconnected FLAPPING [State:CONNECTED Timeout:30000 sessionid:0x15207f935c200a1 local:null remoteserver:null lastZxid:4298815299 xid:132 sent:137 recv:119 queuedpkts:1 pendingresp:0 queuedevents:8]]
18:53:10.159 [app thread - org.eclipse.gyrex.http.jetty.applications.engine.11] ERROR o.e.g.h.i.a.g.HttpGatewayBinding - Error registering application mmlm_httpservice: KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http/applications/mmlm_httpservice/properties
java.lang.IllegalStateException: Error reading application properties for application mmlm_httpservice. KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http/applications/mmlm_httpservice/properties
at org.eclipse.gyrex.http.internal.application.manager.ApplicationManager.getProperties(ApplicationManager.java:186) ~[org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.internal.application.manager.ApplicationRegistration.getInitProperties(ApplicationRegistration.java:218) ~[org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.jetty.internal.app.ApplicationHandler.<init>(ApplicationHandler.java:173) ~[na:na]
at org.eclipse.gyrex.http.jetty.internal.app.UrlRegistry.ensureHandler(UrlRegistry.java:96) ~[na:na]
at org.eclipse.gyrex.http.jetty.internal.app.UrlRegistry.registerIfAbsent(UrlRegistry.java:120) ~[na:na]
at org.eclipse.gyrex.http.internal.application.gateway.HttpGatewayBinding.mountUrlAtGateway(HttpGatewayBinding.java:301) [org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.internal.application.gateway.HttpGatewayBinding.mountAppAtGatway(HttpGatewayBinding.java:262) [org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.internal.application.gateway.HttpGatewayBinding.refreshRegistrations(HttpGatewayBinding.java:332) [org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.internal.application.gateway.HttpGatewayBinding.addingService(HttpGatewayBinding.java:187) [org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.eclipse.gyrex.http.internal.application.gateway.HttpGatewayBinding.addingService(HttpGatewayBinding.java:1) [org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:998) [org.eclipse.osgi_3.10.101.v20150820-1432.jar:na]
at org.eclipse.gyrex.common.services.BundleServiceHelper.registerService(BundleServiceHelper.java:163) [org.eclipse.gyrex.common_1.3.0.v20140923-0741.jar:na]
at org.eclipse.gyrex.http.jetty.internal.JettyEngineApplication.start(JettyEngineApplication.java:327) [org.eclipse.gyrex.http.jetty_1.2.0.v20140923-0812.jar:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
Caused by: org.osgi.service.prefs.BackingStoreException: Error loading node (node /cloud/org.eclipse.gyrex.http/applications/mmlm_httpservice/properties). KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http/applications/mmlm_httpservice/properties
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.createBackingStoreException(ZooKeeperBasedPreferences.java:271) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.preferences.internal.CloudPreferences.createBackingStoreException(CloudPreferences.java:58) ~[org.eclipse.gyrex.preferences_1.2.0.v20140128-0933.jar:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.ensureLoaded(ZooKeeperBasedPreferences.java:395) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.keys(ZooKeeperBasedPreferences.java:621) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.http.internal.application.manager.ApplicationManager.getProperties(ApplicationManager.java:178) ~[org.eclipse.gyrex.http_1.2.0.v20141215-1241.jar:na]
... 30 common frames omitted
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http/applications/mmlm_httpservice/properties
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[na:na]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[na:na]
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1041) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService$LoadNode.call(ZooKeeperPreferencesService.java:268) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService$LoadNode.call(ZooKeeperPreferencesService.java:1) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.services.zookeeper.ZooKeeperBasedService$ZooKeeperCallable.call(ZooKeeperBasedService.java:59) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.services.zookeeper.ZooKeeperBasedService.execute(ZooKeeperBasedService.java:249) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService.loadNode(ZooKeeperPreferencesService.java:946) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.ensureLoaded(ZooKeeperBasedPreferences.java:384) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
... 32 common frames omitted
18:53:12.773 [Worker-4] ERROR o.e.gyrex.cloud.internal.CloudState - Unable to set node to online. Node will not be available in cloud. KeeperErrorCode = ConnectionLoss for /gyrex/nodes/online/vm-28-7-ubuntu_4f042295
18:53:14.193 [Worker-5] ERROR o.e.gyrex.cloud.internal.CloudState - Unable to initialize node info. Node will not be available in cloud. KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:833) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:772) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.readApprovedNodeInfo(CloudState.java:526) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.initializeNodeInfo(CloudState.java:496) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.registerWithCloud(CloudState.java:646) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState$RegistrationJob.run(CloudState.java:147) [org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.7.0.v20150330-2103.jar:na]
18:53:15.924 [Worker-0] ERROR o.e.gyrex.cloud.internal.CloudState - Unable to initialize node info. Node will not be available in cloud. KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:833) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:772) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.readApprovedNodeInfo(CloudState.java:526) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.initializeNodeInfo(CloudState.java:496) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.registerWithCloud(CloudState.java:646) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState$RegistrationJob.run(CloudState.java:147) [org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.7.0.v20150330-2103.jar:na]
18:53:15.924 [ZooKeeper Gate Connect Thread-EventThread] ERROR o.e.g.c.internal.zk.ZooKeeperGate - There have been too many connection state changes within the last minute. ZooKeeper session will be expired. [ZooKeeperGate CURRENT Disconnected FLAPPING [State:CONNECTED Timeout:30000 sessionid:0x15207f935c200a6 local:null remoteserver:null lastZxid:4298815315 xid:63 sent:65 recv:58 queuedpkts:1 pendingresp:0 queuedevents:2]]
18:53:20.875 [Worker-1] ERROR o.e.gyrex.cloud.internal.CloudState - Unable to initialize node info. Node will not be available in cloud. KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/nodes/approved/vm-28-7-ubuntu_4f042295
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151) ~[org.apache.hadoop.zookeeper_3.4.5.v20121214-1350.jar:3.3.1-942149]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:833) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.zk.ZooKeeperGate.readRecord(ZooKeeperGate.java:772) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.readApprovedNodeInfo(CloudState.java:526) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.initializeNodeInfo(CloudState.java:496) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState.registerWithCloud(CloudState.java:646) ~[org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.gyrex.cloud.internal.CloudState$RegistrationJob.run(CloudState.java:147) [org.eclipse.gyrex.cloud_1.4.0.v20150506-1209.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.7.0.v20150330-2103.jar:na]
18:53:22.499 [ZooKeeper Gate Connect Thread-EventThread] ERROR o.e.g.c.internal.zk.ZooKeeperGate - There have been too many connection state changes within the last minute. ZooKeeper session will be expired. [ZooKeeperGate CURRENT Disconnected FLAPPING [State:CONNECTED Timeout:30000 sessionid:0x15207f935c200a9 local:/10.104.28.7:58703 remoteserver:zoo1/10.190.140.87:2181 lastZxid:4298815328 xid:76 sent:78 recv:73 queuedpkts:0 pendingresp:2 queuedevents:1]]
18:53:22.503 [Worker-0] ERROR o.e.gyrex.cloud.internal.CloudState - Unable to set node to online. Node will not be available in cloud. KeeperErrorCode = ConnectionLoss for /gyrex/nodes/online/vm-28-7-ubuntu_4f042295
18:53:32.105 [ZooKeeper Gate Connect Thread-EventThread] ERROR o.e.g.c.internal.zk.ZooKeeperGate - There have been too many connection state changes within the last minute. ZooKeeper session will be expired. [ZooKeeperGate CURRENT Disconnected FLAPPING [State:CONNECTED Timeout:30000 sessionid:0x15207f935c200ac local:/10.104.28.7:58709 remoteserver:zoo1/10.190.140.87:2181 lastZxid:4298815344 xid:138 sent:142 recv:130 queuedpkts:0 pendingresp:3 queuedevents:6]]
18:53:32.219 [app thread - org.eclipse.gyrex.http.jetty.applications.engine.12] ERROR o.e.g.h.j.i.JettyEngineApplication - Unable to start Jetty. Please check the log files. System will be shutdown.
java.lang.IllegalStateException: Error reading channels from backend store. KeeperException.ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http.jetty/channels
at org.eclipse.gyrex.http.jetty.internal.admin.JettyManagerImpl.getChannels(JettyManagerImpl.java:175) ~[na:na]
at org.eclipse.gyrex.http.jetty.internal.JettyEngineApplication.configureServer(JettyEngineApplication.java:119) ~[na:na]
at org.eclipse.gyrex.http.jetty.internal.JettyEngineApplication.start(JettyEngineApplication.java:312) ~[na:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
Caused by: org.osgi.service.prefs.BackingStoreException: Error reading children (node /cloud/org.eclipse.gyrex.http.jetty/channels). Error loading node (node /cloud/org.eclipse.gyrex.http.jetty/channels). KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http.jetty/channels
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.createBackingStoreException(ZooKeeperBasedPreferences.java:271) ~[na:na]
at org.eclipse.gyrex.preferences.internal.CloudPreferences.createBackingStoreException(CloudPreferences.java:58) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.childrenNames(ZooKeeperBasedPreferences.java:247) ~[na:na]
at org.eclipse.gyrex.http.jetty.internal.admin.JettyManagerImpl.getChannels(JettyManagerImpl.java:165) ~[na:na]
... 5 common frames omitted
Caused by: org.osgi.service.prefs.BackingStoreException: Error loading node (node /cloud/org.eclipse.gyrex.http.jetty/channels). KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http.jetty/channels
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.createBackingStoreException(ZooKeeperBasedPreferences.java:271) ~[na:na]
at org.eclipse.gyrex.preferences.internal.CloudPreferences.createBackingStoreException(CloudPreferences.java:58) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.ensureLoaded(ZooKeeperBasedPreferences.java:395) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.childrenNames(ZooKeeperBasedPreferences.java:242) ~[na:na]
... 6 common frames omitted
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /gyrex/prefs/cloud/org.eclipse.gyrex.http.jetty/channels
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[na:na]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[na:na]
at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService$RefreshProperties.call(ZooKeeperPreferencesService.java:515) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService$LoadNode.call(ZooKeeperPreferencesService.java:283) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService$LoadNode.call(ZooKeeperPreferencesService.java:1) ~[na:na]
at org.eclipse.gyrex.cloud.services.zookeeper.ZooKeeperBasedService$ZooKeeperCallable.call(ZooKeeperBasedService.java:59) ~[na:na]
at org.eclipse.gyrex.cloud.services.zookeeper.ZooKeeperBasedService.execute(ZooKeeperBasedService.java:249) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperPreferencesService.loadNode(ZooKeeperPreferencesService.java:946) ~[na:na]
at org.eclipse.gyrex.cloud.internal.preferences.ZooKeeperBasedPreferences.ensureLoaded(ZooKeeperBasedPreferences.java:384) ~[na:na]
... 7 common frames omitted

what's the problem occurred in gyrex and zookeeper?


Study every day, and love every day!
Re: WHY ZOOKEEPER GATE IS DOWN [message #1719260 is a reply to message #1719229] Wed, 06 January 2016 16:19 Go to previous message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

On 2016-01-06 11:34:35 +0000, Sean Zhang said:

> There have been too many connection state changes within the last
> minute. ZooKeeper session will be expired.

That could indicate stability issues with the network and/or ZooKeeper.
Are you running ZooKeeper in a virtualized environment?

Can you try stress-testing the ZooKeeper cluster from a Gyrex node?
https://github.com/phunt/zk-smoketest

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxx
Previous Topic:How to setup the configuration in program?
Next Topic:http service in gyrex cluster
Goto Forum:
  


Current Time: Thu Sep 20 18:01:36 GMT 2018

Powered by FUDForum. Page generated in 0.01854 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top