You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Colin B. (JIRA)" <ji...@apache.org> on 2015/05/27 02:52:17 UTC

[jira] [Created] (TWILL-131) Zookeepers nodes are not removed

Colin B. created TWILL-131:
------------------------------

             Summary: Zookeepers nodes are not removed
                 Key: TWILL-131
                 URL: https://issues.apache.org/jira/browse/TWILL-131
             Project: Apache Twill
          Issue Type: Bug
          Components: discovery, zookeeper
    Affects Versions: 0.5.0-incubating
            Reporter: Colin B.


When a TwillRunnable is run with the YarnTwillRunnerService, a zookeeper node is created and never removed.

For example run the example HelloWorld application:
{code}
java -cp $CP org.apache.twill.example.yarn.HelloWorld localhost:2181/hello
{code}

After the application had run to completion I looked at zookeeper and found:
{code}
> ./zkCli.sh ls /hello
...
[HelloWorldRunnable]
{code}

However I expected:
{code}
> ./zkCli.sh ls /hello
...
[]
{code}

This becomes an issue when a service creates a large number of TwillApplications with unique names.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)