Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-733

ShellBolts that don't respond to heartbeats are not being killed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.9.3
    • Fix Version/s: None
    • Component/s: storm-multilang
    • Labels:
      None

      Description

      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. Heartbeat flow should not assume process had exited.

        Attachments

          Activity

            People

            • Assignee:
              reembs Re'em Bensimhon
              Reporter:
              reembs Re'em Bensimhon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: