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

Topology may hang because metric-tick function is a blocking call from spout

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0, 0.9.5
    • Fix Version/s: 0.10.0, 0.9.6
    • Component/s: storm-core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              abhishek.agarwal Abhishek Agarwal
              Reporter:
              abhishek.agarwal Abhishek Agarwal

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment