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

    https://github.com/apache/incubator-storm/pull/61#discussion_r11473683
  
    --- Diff: storm-core/src/jvm/backtype/storm/utils/NimbusClient.java ---
    @@ -31,12 +32,15 @@
     
         public static NimbusClient getConfiguredClient(Map conf) {
             try {
    -            String nimbusHost = (String) conf.get(Config.NIMBUS_HOST);
    +           NimbusLeadership nimbusLeadership = new NimbusLeadership(conf);
    --- End diff --
    
    The connection to ZK here is closed in next line 
"nimbusLeadership.getNimbusLeaderAddress()". The "getNimbusLeaderAddress()" 
function has finally closed CuratorFramework calling "close();"


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to