You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Zhuo Liu (JIRA)" <ji...@apache.org> on 2016/03/30 22:32:25 UTC

[jira] [Updated] (STORM-1667) Log the IO Exception when deleting worker pid dir

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

Zhuo Liu updated STORM-1667:
----------------------------
    Component/s: storm-core

> Log the IO Exception when deleting worker pid dir
> -------------------------------------------------
>
>                 Key: STORM-1667
>                 URL: https://issues.apache.org/jira/browse/STORM-1667
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.0.0
>            Reporter: Zhuo Liu
>            Assignee: Zhuo Liu
>             Fix For: 1.0.0
>
>
> There is a race condition since shutdown-worker is called by both sync-processes and synchronize-supervisor in supervisor. One pid directory might have been already deleted when rmr-as-user tries to delete it. 
> Therefore, we should not let the FileNotFoundException get thrown and crash the supervisor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)