Skip to content

Instantly share code, notes, and snippets.

@hgschmie
Created December 9, 2014 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgschmie/d6849fb3a3c70fedeecd to your computer and use it in GitHub Desktop.
Save hgschmie/d6849fb3a3c70fedeecd to your computer and use it in GitHub Desktop.
00:27:53.406 [SingularityStatePoller] ERROR c.h.s.SingularityLeaderController - Caught exception while saving state
java.lang.RuntimeException: java.lang.InterruptedException
at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-17.0.jar:na]
at com.hubspot.singularity.data.CuratorManager.checkExists(CuratorManager.java:53) ~[classes/:na]
at com.hubspot.singularity.data.CuratorManager.exists(CuratorManager.java:60) ~[classes/:na]
at com.hubspot.singularity.data.StateManager.save(StateManager.java:72) ~[classes/:na]
at com.hubspot.singularity.SingularityLeaderController$StatePoller.run(SingularityLeaderController.java:194) ~[classes/:na]
Caused by: java.lang.InterruptedException: null
at java.lang.Object.wait(Native Method) ~[na:1.7.0_67]
at java.lang.Object.wait(Object.java:503) ~[na:1.7.0_67]
at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1309) ~[zookeeper-3.4.5.jar:3.4.5-1392090]
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1036) ~[zookeeper-3.4.5.jar:3.4.5-1392090]
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:172) ~[curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:161) ~[curator-framework-2.4.2.jar:na]
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107) ~[curator-client-2.4.2.jar:na]
at org.apache.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:158) ~[curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:148) ~[curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:36) ~[curator-framework-2.4.2.jar:na]
at com.hubspot.singularity.data.CuratorManager.checkExists(CuratorManager.java:49) ~[classes/:na]
... 3 common frames omitted
00:27:53.405 [main-EventThread] ERROR o.a.c.f.imps.CuratorFrameworkImpl - Background exception was not retry-able or retry gave up
java.lang.IllegalStateException: instance must be started before calling this method
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-17.0.jar:na]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.delete(CuratorFrameworkImpl.java:327) [curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.recipes.leader.LeaderLatch.setNode(LeaderLatch.java:618) ~[curator-recipes-2.4.2.jar:na]
at org.apache.curator.framework.recipes.leader.LeaderLatch.access$100(LeaderLatch.java:60) ~[curator-recipes-2.4.2.jar:na]
at org.apache.curator.framework.recipes.leader.LeaderLatch$3.processResult(LeaderLatch.java:458) ~[curator-recipes-2.4.2.jar:na]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:686) [curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:485) [curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.CreateBuilderImpl.sendBackgroundResponse(CreateBuilderImpl.java:526) [curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.CreateBuilderImpl.access$600(CreateBuilderImpl.java:44) [curator-framework-2.4.2.jar:na]
at org.apache.curator.framework.imps.CreateBuilderImpl$6.processResult(CreateBuilderImpl.java:485) [curator-framework-2.4.2.jar:na]
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:596) [zookeeper-3.4.5.jar:3.4.5-1392090]
at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:495) [zookeeper-3.4.5.jar:3.4.5-1392090]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment