GitHub user zhuoliu opened a pull request:

    https://github.com/apache/storm/pull/1280

    [STORM-1667] Log the IO exception when deleting worker pid dir

    We find a race condition in supervisor which can sometimes crash supervisor.
    This race condition exists because: shutdown-worker is called by both 
sync-processes and synchronize-supervisor. One pid directory might have already 
been deleted when rmr-as-user tries to delete it. 
    To avoid crashing the supervisor, we should log the exception rather than 
throw it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zhuoliu/storm Storm-1667-1.x-branch

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1280.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1280
    
----
commit c54162418a4a46d99ac360661f78cc5e10cb654a
Author: zhuol <[email protected]>
Date:   2016-03-30T22:21:41Z

    [STORM-1667] Log the IO exception when deleting worker pid dir

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to