Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-117 Enhance YARN service model
  3. YARN-119

Add support for static service lifecycle listeners .

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Add support to AbstractService that allow callers to register listeners for all instances. The existing listener interface could be used. This allows management tools to hook into the events.

      The static listeners would be invoked for all state changes except creation (base class shouldn't be handing out references to itself at this point).

      These static events could all be async, pushed through a shared ConcurrentLinkedQueue; failures logged at warn and the rest of the listeners invoked.

      Attachments

        1. MAPREDUCE-3995.patch
          3 kB
          Steve Loughran
        2. MAPREDUCE-3995.patch
          2 kB
          Steve Loughran
        3. MAPREDUCE-3995.patch
          2 kB
          Steve Loughran
        4. MAPREDUCE-3995.patch
          15 kB
          Steve Loughran
        5. MAPREDUCE-3995.patch
          17 kB
          Steve Loughran
        6. MAPREDUCE-3995.patch
          17 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: