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

SPI Upgrade Improvements For Web Calls And Required Plugins

    XMLWordPrintableJSON

Details

    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

          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 - 2h 50m
                  2h 50m