You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/04 15:49:00 UTC

[jira] [Updated] (STORM-3092) Metrics Reporter and Shutdown Hook on Supervisor not properly set up at launchDaemon

     [ https://issues.apache.org/jira/browse/STORM-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated STORM-3092:
----------------------------------
    Labels: pull-request-available  (was: )

> Metrics Reporter and Shutdown Hook on Supervisor not properly set up at launchDaemon
> ------------------------------------------------------------------------------------
>
>                 Key: STORM-3092
>                 URL: https://issues.apache.org/jira/browse/STORM-3092
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-server
>    Affects Versions: 2.0.0
>            Reporter: Zhengdai Hu
>            Assignee: Zhengdai Hu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The bug was introduced in commit 0dac58b0aa82133df242b3b2ebeb65bfea7d63cc, when launchSupervisorThriftServer method is invoked in the launchDaemon method in Supervisor class. launchSupervisorThriftServer() invokes a blocking call to thrift server under the hood, hence preventing Utils.addShutdownHookWithForceKillIn1Sec and StormMetricsRegistry.startMetricsReporters from correctly called. 
>  
> The bug can be solved by moving launchSupervisorThriftServer to the end of the code block.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)