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

YarnTwillRunnerService lookup() fails to find application if called immediately after startAndWait()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.3.0-incubating, 0.4.0-incubating, 0.5.0-incubating
    • None
    • yarn
    • None

    Description

      While TwillRunnerService.startAndWait() requests application/controller state from Zookeeper, there may be a delay in retrieving this state. This can cause subsequent lookup() calls to return null even if there is a Twill application running.

      While this can be prevented by adding a one second sleep after startAndWait() is called, it would be better if startAndWait() was modifed to not return until all state has been retrieved from Zookeeper.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikewalch Mike Walch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: