[ 
https://issues.apache.org/jira/browse/STORM-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977892#comment-14977892
 ] 

ASF GitHub Bot commented on STORM-1027:
---------------------------------------

Github user abhishekagarwal87 commented on the pull request:

    https://github.com/apache/storm/pull/818#issuecomment-151749882
  
    For long running topologies using kafka spout, we have always ran into this 
deadlock. It completely blocks the topology. Internally, we are already running 
the storm with this patch. 


> Topology may hang because metric-tick function is a blocking call from spout
> ----------------------------------------------------------------------------
>
>                 Key: STORM-1027
>                 URL: https://issues.apache.org/jira/browse/STORM-1027
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 0.10.0
>            Reporter: Abhishek Agarwal
>            Assignee: Abhishek Agarwal
>            Priority: Critical
>             Fix For: 0.10.0
>
>
> Nathan had fixed the dining philosopher problem by putting a overflow buffer 
> in the spout so that spout is not blocking. However, overflow buffer is not 
> used when emitting the metric, and that could result in the deadlock. I 
> modified the executor to use overflow buffer for emitting metrics and 
> afterwards topology didn't hang. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to