You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Albert Shau (JIRA)" <ji...@apache.org> on 2014/01/16 21:23:19 UTC

[jira] [Updated] (TWILL-34) Clean up Zookeeper state for an instance before launching it

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

Albert Shau updated TWILL-34:
-----------------------------

    Attachment: TWILL-34-1.patch

> Clean up Zookeeper state for an instance before launching it
> ------------------------------------------------------------
>
>                 Key: TWILL-34
>                 URL: https://issues.apache.org/jira/browse/TWILL-34
>             Project: Apache Twill
>          Issue Type: Bug
>            Reporter: Albert Shau
>         Attachments: TWILL-34-1.patch
>
>
> The current behavior is to clean up any messages and state for a runnable instance during its start up.  This is to make sure things are clean if the instance is being restarted.  
> However, this can result in lost messages to new runnable instance if a message is sent after the container has been assigned to a new instance, but before the cleanup part of the code runs.  Moving the cleanup to the application master when it is launching the container would fix this problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)