Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion storm-core/src/clj/org/apache/storm/util.clj
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@
(catch InterruptedException e
(log-message log-prefix " interrupted.")))
(exit-code-callback (.exitValue process)))
nil)))
nil)
:kill-fn (fn [error] (log-error (RuntimeException. ("launch process failed..."))))))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we throwing away error?

What happens if this does not exit? I assume that the heartbeat monitoring will detect it and do the right thing, but are there other places in the code besides a worker process that we use this? Will there be problems especially around the exit-code-callback if they are not called?

process)))

(defn exists-file?
Expand Down