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

Slot can fail assertions in some cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None

      Description

      2019-01-19 22:47:03.045 [SLOT_1024] ERROR org.apache.storm.daemon.supervisor.Slot - Error when processing event
      java.lang.AssertionError: null
      at org.apache.storm.daemon.supervisor.Slot.handleEmpty(Slot.java:781) ~[classes/:?]
      at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:217) ~[classes/:?]
      at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:900) [classes/:?]
      2019-01-19 22:47:03.045 [SLOT_1025] ERROR org.apache.storm.daemon.supervisor.Slot - Error when processing event
      java.lang.AssertionError: null
      at org.apache.storm.daemon.supervisor.Slot.handleEmpty(Slot.java:781) ~[classes/:?]
      at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:217) ~[classes/:?]
      at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:900) [classes/:?]

      The issue is that Slot tries to go from WAITING_FOR_LOCALIZATION to EMPTY when there's an exception downloading a blob. It then fails one of the assertions in EMPTY because it doesn't clear its pendingChangingBlobsAssignment field.

      There's no reason to go back to EMPTY. The Slot still wants to download some blobs, so it should just restart the downloads and go back to WAITING_FOR_LOCALIZATION.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Srdo Stig Rohde Døssing
                Reporter:
                Srdo Stig Rohde Døssing
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h