Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
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
- links to