Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24768

Load Upgrade Checks Dynamically From Stacks

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0
    • None

    Description

      Stack-provided upgrade checks need to be loaded from a provided JAR when Ambari Server starts up. Currently, upgrade checks are loaded synchronously, scanning the entire classpath for classes matching UpgradeCheck in the package org.apache.ambari.server.checks. This can be extremely slow and cause Ambari Server to fail to start within a reasonable amount of time. The proposed changes for this issue are as follows:

      • Move to an asynchronous model for scanning the classpath for instances of UpgradeCheck
      • Allow stacks to provide their own plugin directory & JAR for loading SPI implementations of UpgradeCheck

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m