Skip to content

Commit 03bd955

Browse files
author
Nathan Marz
committed
more debug logging
1 parent 875d679 commit 03bd955

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/clj/backtype/storm/daemon/supervisor.clj

+4-3
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,17 @@
259259
storm-code-map (read-storm-code-locations storm-cluster-state sync-callback)
260260
assigned-storm-ids (set (keys storm-code-map))
261261
downloaded-storm-ids (set (read-downloaded-storm-ids conf))
262-
new-assignment (->>
263-
(read-assignments
262+
all-assignment (read-assignments
264263
storm-cluster-state
265264
(:supervisor-id supervisor)
266265
sync-callback)
267-
(filter-key #(.confirmAssigned isupervisor %)))
266+
new-assignment (->> all-assignment
267+
(filter-key #(.confirmAssigned isupervisor %)))
268268
existing-assignment (.get local-state LS-LOCAL-ASSIGNMENTS)]
269269
(log-debug "Synchronizing supervisor")
270270
(log-debug "Storm code map: " storm-code-map)
271271
(log-debug "Downloaded storm ids: " downloaded-storm-ids)
272+
(log-debug "All assignment: " all-assignment)
272273
(log-debug "New assignment: " new-assignment)
273274
;; download code first
274275
;; This might take awhile

0 commit comments

Comments
 (0)