File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/clj/backtype/storm/daemon Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 613
613
:let [existing-assignment (get existing-assignments topology-id)
614
614
topology-details (.getById topologies topology-id)]]
615
615
(if (= existing-assignment assignment)
616
- (log-debug " Assignment for " topology-id " hasn't changed" )
617
- (do
618
- (log-message " Setting new assignment for topology id " topology-id " : " (pr-str assignment))
619
- (.set-assignment! storm-cluster-state topology-id assignment)
620
- (.assignSlots ^INimbus (:inimbus nimbus)
621
- (for [[id port] (newly-added-slots existing-assignment assignment)]
622
- (WorkerSlot. id port))
623
- topology-details)
624
- )))))
616
+ (log-debug " Assignment for " topology-id " hasn't changed" )
617
+ (do
618
+ (log-message " Setting new assignment for topology id " topology-id " : " (pr-str assignment))
619
+ (.set-assignment! storm-cluster-state topology-id assignment)
620
+ (.assignSlots ^INimbus (:inimbus nimbus)
621
+ (for [[id port] (newly-added-slots existing-assignment assignment)]
622
+ (WorkerSlot. id port))
623
+ topology-details)
624
+ )))))
625
625
626
626
(defn- start-storm [nimbus storm-name storm-id]
627
627
(let [storm-cluster-state (:storm-cluster-state nimbus)
You can’t perform that action at this time.
0 commit comments