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

Add ServiceOperations class to aid working with Services

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description



      Add Helper methods to move things through lifecycles. init->start is common, stop-if-service!=null another. Some static methods can execute these, and even call stop() if init() raises an exception. These could go into a class ServiceOps in the same package. These can be used by those services that wrap other services, and help manage more robust shutdowns.

      Attachments

        1. MAPREDUCE-3970.patch
          25 kB
          Steve Loughran
        2. MAPREDUCE-3970.patch
          23 kB
          Steve Loughran

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: