Skip to content

Commit

Permalink
fix reportError for spouts and bolts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Marz committed Jul 10, 2012
1 parent 04d8881 commit a2923f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clj/backtype/storm/daemon/executor.clj
Expand Up @@ -325,7 +325,7 @@
^Integer max-spout-pending (if max-spout-pending (int max-spout-pending))
worker-context (:worker-context executor-data)
transfer-fn (:transfer-fn executor-data)
report-error-fn (:report-error-fn executor-data)
report-error-fn (:report-error executor-data)
spouts (ArrayList. (map :object (vals task-datas)))
sampler (:sampler executor-data)
rand (Random. (Utils/secureRandomLong))
Expand Down Expand Up @@ -456,7 +456,7 @@
worker-context (:worker-context executor-data)
storm-conf (:storm-conf executor-data)
executor-stats (:stats executor-data)
report-error-fn (:report-error-fn executor-data)
report-error-fn (:report-error executor-data)
sampler (:sampler executor-data)
rand (Random. (Utils/secureRandomLong))
tuple-action-fn (fn [task-id ^TupleImpl tuple]
Expand Down

0 comments on commit a2923f3

Please sign in to comment.