storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/4] storm git commit: [STORM-1163] using rmr rather than rmpath for remove worker-root
Date Thu, 05 Nov 2015 21:11:53 GMT
Repository: storm
Updated Branches:
  refs/heads/master 2bad9c62e -> 8545ff9a6


[STORM-1163] using rmr rather than rmpath for remove worker-root


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

Branch: refs/heads/master
Commit: 8d6ab39ac7d6625254c9dedd217b9d0ce63531fe
Parents: f3568d7
Author: zhuol <zhuol@yahoo-inc.com>
Authored: Wed Nov 4 10:47:19 2015 -0600
Committer: zhuol <zhuol@yahoo-inc.com>
Committed: Wed Nov 4 10:47:19 2015 -0600

----------------------------------------------------------------------
 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/8d6ab39a/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 52b2057..ccca370 100644
--- a/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
+++ b/storm-core/src/clj/backtype/storm/daemon/supervisor.clj
@@ -244,7 +244,7 @@
             (rmr (worker-heartbeats-root conf id))
             ;; this avoids a race condition with worker or subprocess writing pid around
same time
             (rmpath (worker-pids-root conf id))
-            (rmpath (worker-root conf id))))
+            (rmr (worker-root conf id))))
         (remove-worker-user! conf id)
         (remove-dead-worker id)
       ))


Mime
View raw message