[
https://issues.apache.org/jira/browse/AMBARI-24768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-24768:
------------------------------------
Labels: pull-request-available (was: )
> Load Upgrade Checks Dynamically From Stacks
> -------------------------------------------
>
> Key: AMBARI-24768
> URL: https://issues.apache.org/jira/browse/AMBARI-24768
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.8.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.8.0
>
>
> 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}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)