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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13873901#comment-13873901 ] 

Terence Yim commented on TWILL-34:
----------------------------------

The patch looks good.

> 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
>            Assignee: 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)