Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.8.0
Description
This issue is to track two changes to the SPI and to Ambari:
- The SPI should provide a mechanism where UpgradeCheck classes can make web requests using a connection factory that is able to leverage Ambari's cookie store, truststore, and timeout values.
- Upgrade checks provided by a stack can be marked as required in the UpgradeCheckInfo. This prevents them from being explicitly defined in the upgrade pack XML. However, since Ambari loads 100's of 1000's of classes, a ClassLoader scan can take too long. Using the Reflections library, we're able to pass in the URLs of the JARs which comprise the plugin ClassLoader and are able to perform the scan very quickly.
- The pom.xml needed to be updated to include a version of guava which was compatible with the version of reflections.
Attachments
Issue Links
- links to