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

worker heartbeat directory recreated after killing

    XMLWordPrintableJSON

    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

      We see occasional instances where we kill the workers, wait for them to die, force delete the worker directory successfully, and the heartbeat directory is then re-created.  

       

      It looks like when new local states get created, these will create the directory.  There is probably a race condition between the worker calling LocalState VersionStore mkdirs() and being killed and the supervisor directory cleanup.

       

      Containers already guarantee this directory exists, so a fix could be to add an option to allow the LocalStates to create the dir or not.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agresch Aaron Gresch
                Reporter:
                agresch Aaron Gresch
              • 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 - 50m
                  50m