[ 
https://issues.apache.org/jira/browse/TWILL-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573746#comment-14573746
 ] 

Gary Helmling commented on TWILL-131:
-------------------------------------

This sounds like a good application of container znodes (ZOOKEEPER-2163) once 
they are available (not until ZK 3.6 is released).  Until then, sounds like we 
might need something like the Curator Reaper class that is described in that 
issue.

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

Reply via email to