Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.5.0-incubating
-
None
Description
When a TwillRunnable is run with the YarnTwillRunnerService, a zookeeper node is created and never removed.
For example run the example HelloWorld application:
java -cp $CP org.apache.twill.example.yarn.HelloWorld localhost:2181/hello
After the application had run to completion I looked at zookeeper and found:
> ./zkCli.sh ls /hello ... [HelloWorldRunnable]
However I expected:
> ./zkCli.sh ls /hello ... []
This becomes an issue when a service creates a large number of TwillApplications with unique names.