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:03:23 UTC

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

Albert Shau created TWILL-34:
--------------------------------

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


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)