Github user danny0405 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2319#discussion_r138780949
  
    --- Diff: storm-core/src/clj/org/apache/storm/cluster.clj ---
    @@ -123,6 +133,7 @@
     (def SUPERVISORS-SUBTREE (str "/" SUPERVISORS-ROOT))
     (def WORKERBEATS-SUBTREE (str "/" WORKERBEATS-ROOT))
     (def BACKPRESSURE-SUBTREE (str "/" BACKPRESSURE-ROOT))
    +(def LEADERINFO-SUBTREE (str "/" LEADERINFO-ROOT))
    --- End diff --
    
    Actually, this is not really needed, but if we always get leader from 
nimbus, we will make 2 RPC requests every time we contact with the leader 
[supervisor to nimbus/], instead get it from zookeeper directly is a better way.


---

Reply via email to