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

Slot can fail assertions in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • 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

              srdo Stig Rohde Døssing
              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