storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/3] storm git commit: STORM-977 Send -15 (SIGTERM) signal to worker
Date Thu, 13 Aug 2015 16:36:39 GMT
Repository: storm
Updated Branches:
  refs/heads/master 0ce410684 -> d7155d7be


STORM-977 Send -15 (SIGTERM) signal to worker


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e03bf633
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e03bf633
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e03bf633

Branch: refs/heads/master
Commit: e03bf633ef79ba4ee01436dd260b72263c3b1a7e
Parents: 544e55c
Author: Gábor Lipták <gliptak@gmail.com>
Authored: Mon Aug 10 20:44:36 2015 -0400
Committer: Gábor Lipták <gliptak@gmail.com>
Committed: Wed Aug 12 18:10:06 2015 -0400

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/daemon/supervisor.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/e03bf633/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/daemon/supervisor.clj b/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
index be8f682..f582761 100644
--- a/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
+++ b/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
@@ -262,7 +262,7 @@
       (psim/kill-process thread-pid))
     (doseq [pid pids]
       (if as-user
-        (worker-launcher-and-wait conf user ["signal" pid "9"] :log-prefix (str "kill -15
" pid))
+        (worker-launcher-and-wait conf user ["signal" pid "15"] :log-prefix (str "kill -15
" pid))
         (kill-process-with-sig-term pid)))
     (when-not (empty? pids)  
       (log-message "Sleep " shutdown-sleep-secs " seconds for execution of cleanup threads
on worker.")


Mime
View raw message