Skip to content

0.9.0 cluster state inimbus#519

Closed
jasonjckn wants to merge 4 commits intonathanmarz:masterfrom
jasonjckn:0.9.0-cluster-state-inimbus
Closed

0.9.0 cluster state inimbus#519
jasonjckn wants to merge 4 commits intonathanmarz:masterfrom
jasonjckn:0.9.0-cluster-state-inimbus

Conversation

@jasonjckn
Copy link
Collaborator

This pull gives me access to cluster-state in INimbus, which is needed for this pull nathanmarz/storm-mesos#5

"IMPORTANT: CuratorFramework instances are fully thread-safe. You should share one CuratorFramework per ZooKeeper cluster in your application." https://github.com/Netflix/curator/wiki/Framework

MesosNimbus needed zk style state, so this pull gets it done. Without making a 2nd curator framework.

I had to use Object for clusterState because ClusterState is a protocol, and therefore not accessible due to compilation ordering where javac goes first. If someone needs ClusterState in java in the future, we can rewrite it without protocols, but there's no sense changing all that code right now when only mesosnimbus needs it, and I wrote it partly in clojure.

Jason Jackson and others added 4 commits February 1, 2013 00:23
@jasonjckn
Copy link
Collaborator Author

i did this for 0.9.0 branch because it's an api change.

@jasonjckn jasonjckn closed this Mar 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants