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

    https://github.com/apache/storm/pull/845#discussion_r43813189
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/nimbus.clj ---
    @@ -1179,13 +1312,15 @@
                             (fn []
                               (clean-inbox (inbox nimbus) (conf 
NIMBUS-INBOX-JAR-EXPIRATION-SECS))
                               ))
    -    ;;schedule nimbus code sync thread to sync code from other nimbuses.
    -    (schedule-recurring (:timer nimbus)
    -      0
    -      (conf NIMBUS-CODE-SYNC-FREQ-SECS)
    -      (fn []
    -        (sync-code conf nimbus)
    -        ))
    +
    +    ;; Schedule nimbus code sync thread to sync code from other nimbuses.
    +    (if (instance? LocalFsBlobStore blob-store)
    +      (schedule-recurring (:timer nimbus)
    +                          0
    +                          (conf NIMBUS-CODE-SYNC-FREQ-SECS)
    +                          (fn []
    +                            (blob-sync-code conf nimbus)
    +                            )))
    --- End diff --
    
    format..


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