Permalink
Browse files

unfinished refactoring to a state machine approach for nimbus

  • Loading branch information...
1 parent 5c3bf86 commit 7371926834a75cb1dacde371cd8f3aa0702dcd0a @nathanmarz committed Dec 12, 2011
Showing with 279 additions and 171 deletions.
  1. +2 −3 src/clj/backtype/storm/cluster.clj
  2. +217 −145 src/clj/backtype/storm/daemon/nimbus.clj
  3. +60 −23 src/clj/backtype/storm/util.clj
@@ -315,11 +315,10 @@
)
(remove-storm! [this storm-id]
- (remove-storm-base! this storm-id)
- ;; rmr the task related info. must remove assignment last
(delete-node cluster-state (storm-task-root storm-id))
(delete-node cluster-state (assignment-path storm-id))
- )
+ ;; TODO: this might be a problem... originally this was the first thing
+ (remove-storm-base! this storm-id))
(report-task-error [this storm-id task-id error]
(let [path (taskerror-path storm-id task-id)
Oops, something went wrong.

0 comments on commit 7371926

Please sign in to comment.