You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/26 08:58:27 UTC

[jira] [Commented] (STORM-1027) Topology may hang because metric-tick function is a blocking call from spout

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

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

GitHub user abhishekagarwal87 opened a pull request:

    https://github.com/apache/storm/pull/818

    Backporting STORM-1027

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/abhishekagarwal87/storm oveflow-buffer

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/818.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #818
    
----
commit e696481c164f011e59396ba2c7bb1031db31381d
Author: Abhishek Agarwal <ab...@inmobi.com>
Date:   2015-09-08T11:20:39Z

    Backporting STORM-1027

----


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