Github user zhuoliu commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1149#discussion_r54172980
  
    --- Diff: storm-core/src/clj/org/apache/storm/daemon/worker.clj ---
    @@ -155,7 +155,10 @@
             ;; update the worker's backpressure flag to zookeeper only when it 
has changed
             (log-debug "BP " @(:backpressure worker) " WAS " 
prev-backpressure-flag)
             (when (not= prev-backpressure-flag @(:backpressure worker))
    -          (.workerBackpressure storm-cluster-state storm-id assignment-id 
port @(:backpressure worker)))
    +          (try
    +            (.workerBackpressure storm-cluster-state storm-id 
assignment-id (long port) @(:backpressure worker))
    --- End diff --
    
    (:port worker) returns an Integer. Will cause an exception if not turning 
to long. See also Storm-1578.


---
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.
---

Reply via email to