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

    https://github.com/apache/incubator-storm/pull/33#discussion_r10388407
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/drpc.clj ---
    @@ -59,6 +63,8 @@
                                 (when-let [sem (@id->sem id)]
                                   (swap! id->result assoc id 
(DRPCExecutionException. "Request timed out"))
                                   (.release sem))
    +                              (.remove (acquire-queue request-queues 
(@id->function id)) (@id->request id))
    +                              (log-warn "Timeout DRPC request id: " id " 
start at " start)
                                 (cleanup id)
    --- End diff --
    
    Yes, we have seen this happen in practice. In fact it's much possible to to 
return null instead of  throw an exception when drpc request is timeout. For 
example a python drpc client will print "execute failed: unknown result".


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to