[
https://issues.apache.org/jira/browse/AMBARI-9102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-9102:
---------------------------------
Attachment: AMBARI-9102_01.patch
* Added updates to support this change
Patch File [^AMBARI-9102_01.patch]
> Refactor rolling upgrades prerequisite checks to expose and repackage utility
> classes
> -------------------------------------------------------------------------------------
>
> Key: AMBARI-9102
> URL: https://issues.apache.org/jira/browse/AMBARI-9102
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Fix For: 2.0.0
>
> Attachments: AMBARI-9102_01.patch
>
>
> The logic in the org.apache.ambari.server.state.UpgradeCheckHelper should be
> exposed so that resources may use it.
> The following steps will be taken:
> * Move the static classes out of
> {{org.apache.ambari.server.state.UpgradeCheckHelper}} and into a package
> named {{org.apache.ambari.server.checks}}
> * Rename {{UpgradeCheckDescriptor}} to {{AbstractCheckDescriptor}}
> * Create {{org.apache.ambari.server.checks.CheckHelper}} and move
> {{org.apache.ambari.server.state.UpgradeCheckHelper#performPreUpgradeChecks}}
> into it
> * Adjust
> {{org.apache.ambari.server.controller.internal.PreUpgradeCheckResourceProvider}}
> accordingly
> * {{UpgradeCheckRequest}}, {{UpgradeCheck}} and other similar resources which
> encapsulate check data will be generalized to {{PrereqCheckRequest}} ,
> {{PrerequisiteCheck}} and so on
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)