Github user jerrypeng commented on a diff in the pull request:
https://github.com/apache/storm/pull/1098#discussion_r52748470
--- Diff: storm-core/src/clj/org/apache/storm/daemon/supervisor.clj ---
@@ -332,19 +333,24 @@
:assignment-id (.getAssignmentId isupervisor)
:my-hostname (Utils/hostname conf)
:curr-assignment (atom nil) ;; used for reporting used ports when
heartbeating
- :heartbeat-timer (mk-timer :kill-fn (fn [t]
- (log-error t "Error when processing event")
- (Utils/exitProcess 20 "Error when
processing an event")
- ))
- :event-timer (mk-timer :kill-fn (fn [t]
- (log-error t "Error when
processing event")
- (Utils/exitProcess 20 "Error when
processing an event")
- ))
- :blob-update-timer (mk-timer :kill-fn (defn blob-update-timer
- [t]
- (log-error t "Error when
processing event")
- (Utils/exitProcess 20 "Error
when processing a event"))
- :timer-name "blob-update-timer")
+ :heartbeat-timer (StormTimer/mkTimer nil
+ (reify StormTimer$TimerFunc
--- End diff --
Perhaps it does, but lets try to keep things as close to the same as before
during this initial round of translation.
---
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.
---