Uploaded image for project: 'Apache Twill (Retired)'
  1. Apache Twill (Retired)
  2. TWILL-131

Zookeepers nodes are not removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0-incubating
    • 0.7.0-incubating
    • discovery, zookeeper
    • 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.

      Attachments

        Activity

          People

            chtyim Terence Yim
            lanzaa Colin B.
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: