Github user revans2 commented on a diff in the pull request: https://github.com/apache/storm/pull/1043#discussion_r50894857 --- Diff: storm-core/src/clj/org/apache/storm/stats.clj --- @@ -702,11 +713,16 @@ :acked (sum-or-0 (:acked acc-spout-stats) (:acked spout-stats)) :failed (sum-or-0 (:failed acc-spout-stats) (:failed spout-stats))}) +;TODO: when translating this function, you should replace the map-val with a proper for loop HERE (defn aggregate-count-streams [stats] (->> stats - (map-val #(reduce + (vals %))))) + (map-val #(reduce + (vals %))))) +; (Utils/mapVal +; (reify IFn (eval [this x] (reduce + (vals x)))) +; ))) --- End diff -- Please remove
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---