You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Mike Walch (JIRA)" <ji...@apache.org> on 2015/06/25 18:27:04 UTC
[jira] [Comment Edited] (TWILL-116) Support for restart instances
of runnable in an application
[ https://issues.apache.org/jira/browse/TWILL-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601474#comment-14601474 ]
Mike Walch edited comment on TWILL-116 at 6/25/15 4:26 PM:
-----------------------------------------------------------
Yes, restarting will work. We can use TwillController.changeInstances if we want to test stopping or adding a random instance.
was (Author: mikewalch):
Yes, restarting will work. We can use TwillController.changeInstances if we want to test stopping or starting a random instance.
> Support for restart instances of runnable in an application
> -----------------------------------------------------------
>
> Key: TWILL-116
> URL: https://issues.apache.org/jira/browse/TWILL-116
> Project: Apache Twill
> Issue Type: New Feature
> Components: core
> Reporter: Albert Shau
> Assignee: Henry Saputra
> Fix For: 0.6.0-incubating
>
> Attachments: TWILL-116-design-4.pdf, TWILL-116-design-5.pdf, TWILL-116-design-6.pdf, TWILL-116-design-7.pdf
>
>
> Once an application is running, it would be good to be able to stop, start, and restart a specific runnable of the application without affecting other runnables.
> For example, I may be running multiple services in a single application, with each service as a different runnable. One of my services gets into an invalid state. I now want to restart just that runnable and not the other ones that are running properly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)