[ 
https://issues.apache.org/jira/browse/AMBARI-24768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley resolved AMBARI-24768.
--------------------------------------
    Resolution: Fixed

> 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
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to