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

    https://github.com/apache/storm/pull/1084#discussion_r52034936
  
    --- Diff: storm-core/src/clj/org/apache/storm/daemon/worker.clj ---
    @@ -577,11 +577,11 @@
     (defserverfn mk-worker [conf shared-mq-context storm-id assignment-id port 
worker-id]
       (log-message "Launching worker for " storm-id " on " assignment-id ":" 
port " with id " worker-id
                    " and conf " conf)
    -  (if-not (ConfigUtils/isLocalMode conf)
    -    (redirect-stdio-to-slf4j!))
       ;; because in local mode, its not a separate
       ;; process. supervisor will register it in this case
    -  (when (= :distributed (ConfigUtils/clusterMode conf))
    +  ;; if (ConfigUtils/isLocalMode conf) returns false then it is in 
distributed mode.
    +  (when-not (ConfigUtils/isLocalMode conf)
    --- End diff --
    
    Thanks @HeartSaVioR . Got it now. 


---
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