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

    https://github.com/apache/storm/pull/845#discussion_r45131380
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/supervisor.clj ---
    @@ -326,16 +331,28 @@
                                              (log-error t "Error when 
processing event")
                                              (exit-process! 20 "Error when 
processing an event")
                                              ))
    +   :blob-update-timer (mk-timer :kill-fn (fn [t]
    +                                           (log-error t "Error when 
processing event")
    +                                           (exit-process! 20 "Error when 
processing a event")))
    +   :localizer (Utils/createLocalizer conf (supervisor-local-dir conf))
        :assignment-versions (atom {})
        :sync-retry (atom 0)
    -   :code-distributor (mk-code-distributor conf)
        :download-lock (Object.)
        :stormid->profiler-actions (atom {})
        })
     
    +(defn required-topo-files-exist?
    +  [conf storm-id]
    +  (let [stormroot (supervisor-stormdist-root conf storm-id)
    +        stormjarpath (supervisor-stormjar-path stormroot)
    +        stormcodepath (supervisor-stormcode-path stormroot)
    +        stormconfpath (supervisor-stormconf-path stormroot)]
    +    (and (every? exists-file? [stormroot stormconfpath stormcodepath])
    +    (or (local-mode? conf)
    +      (exists-file? stormjarpath)))))
    --- End diff --
    
    * Indent `or` with `every?`
    * Indent `exists-file?` with `local-mode?`


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