GitHub user caofangkun opened a pull request:

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

    STORM-532,Supervisor should restart worker immediately, if the worker pr...

    https://issues.apache.org/jira/browse/STORM-532
    
    For now 
    if the worker process does not exist any more 
    Supervisor will have to wait a few seconds for worker heartbeart timeout 
and restart worker .
    
    If supervisor knows the worker processid and check if the process exists in 
the sync-processes thread ,may need less time to restart worker.
    1: record worker process id in the worker local heartbeart 
    2: in supervisor sync-processes ,get process id from worker local heartbeat 
    and check if the process exits 
    3: if not restart it immediately

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

    $ git pull https://github.com/caofangkun/incubator-storm master

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

    https://github.com/apache/storm/pull/293.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 #293
    
----
commit ab9ae75fe3f3bbf070d05b5b165af04152a5933d
Author: caokun <caokun@caokun-virtualbox.(none)>
Date:   2014-10-15T01:12:11Z

    STORM-532,Supervisor should restart worker immediately, if the worker 
process does not exist any more

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to