You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Re'em Bensimhon (JIRA)" <ji...@apache.org> on 2015/03/29 16:41:52 UTC

[jira] [Created] (STORM-733) ShellBolts that don't respond to heartbeats are not being killed

Re'em Bensimhon created STORM-733:
-------------------------------------

             Summary: ShellBolts that don't respond to heartbeats are not being killed
                 Key: STORM-733
                 URL: https://issues.apache.org/jira/browse/STORM-733
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 0.9.3
            Reporter: Re'em Bensimhon
            Assignee: Re'em Bensimhon
            Priority: Critical


In cases where a multilang bolt is stuck (say, an infinite loop), the heartbeats are supposed to detect the issue and kill the supervisor process.

In 0.9.3 this doesn't happen due to backtype.storm.utils.ShellProcess.getErrorsString() call in ShellBolt.die()

This call, which in turn executes IOUtils.toString(processErrorStream) will block the thread until process exits. Heartbean flow should not assume process had exited.



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