You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2018/06/05 16:21:00 UTC

[jira] [Resolved] (STORM-3091) worker heartbeat directory recreated after killing

     [ https://issues.apache.org/jira/browse/STORM-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans resolved STORM-3091.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Thanks [~agresch],

 

I merged this into master.

> worker heartbeat directory recreated after killing
> --------------------------------------------------
>
>                 Key: STORM-3091
>                 URL: https://issues.apache.org/jira/browse/STORM-3091
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Aaron Gresch
>            Assignee: Aaron Gresch
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)