GitHub user hsaputra opened a pull request:

    https://github.com/apache/incubator-twill/pull/52

    [WIP] TWILL-116 Support for restart instances of runnable in an application

    NOTE: Please do not merge or review this. Send initial PR to trigger Travis.
    
    Add support to restart certain or all instances of runnables in a Twill 
application.
    See proposed design attached to the JIRA: 
https://issues.apache.org/jira/browse/TWILL-116
    
    Summary of changes:
    1. Add new APIs to TwillController to restart all or certain instances of 
runnables.
    2. Support message handler in ApplicationMasterService for restart 
instances.
    3. Add new class UpdateRunnableStateResult to represent update result.
    4. Modify RunningContainers to launch new container using same instance id 
to support restart for a runnable.

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

    $ git pull https://github.com/hsaputra/incubator-twill 
twill-116_runnable_instances_lifecycle

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

    https://github.com/apache/incubator-twill/pull/52.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 #52
    
----
commit f22edcf21085c1dc5d0ba5f88c5705beedcbd200
Author: hsaputra <[email protected]>
Date:   2015-06-27T05:19:24Z

    TWILL-116 Add TwillRunnable instances lifecycle management.

----


---
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