Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-324

Migrate from Twitter ShutdownRegistry to Guava ServiceManager

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Reliability, Scheduler
    • None

    Description

      Right now the scheduler uses the (synchronous, sequential) ShutdownRegistry which can lead to deadlocks at shutdown. Migrate to (asynchronous, parallel) ServiceManager [1,2] and add an endpoint to inspect the state of individual services running within the scheduler.

      [1] https://code.google.com/p/guava-libraries/wiki/ServiceExplained
      [2] http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/util/concurrent/ServiceManager.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kevints Kevin Sweeney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: