Github user longdafeng commented on the pull request:

    https://github.com/apache/storm/pull/354#issuecomment-85033376
  
    @ptgoetz @revans2 @Parth-Brahmbhatt, 
    
    Sorry for late discuss the HA desgin. 
    Strongly recommend using JStorm's Nimbus HA Design. It is pretty stable.  
JStorm's Nimbus HA has been released for one year and has been approved stable.
    
    The logic is very simple. The code less 1000 lines.
    
    1. Every nimbus will try to own the znode /nimbus_master, the winner will 
be the nimbus's master. Slaves will watch and timely check the znode, once it 
disappear, slaves will try to own it. During slaves check the znode, it will 
sync binary from master.
    2. All client API firstly connection ZK and get to know who are the nimbus 
Master.
    
    (1) The core code in nimbus:
    
https://github.com/alibaba/jstorm/blob/master/jstorm-server/src/main/java/com/alibaba/jstorm/schedule/FollowerRunnable.java
    
    (2) How to find the master of nimbus:
    
https://github.com/alibaba/jstorm/blob/master/jstorm-client/src/main/java/backtype/storm/security/auth/ThriftClient.java
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to