You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2015/01/13 11:29:35 UTC

[jira] [Created] (AMBARI-9102) Refactor rolling upgrades prerequisite checks to expose and repackage utility classes

Robert Levas created AMBARI-9102:
------------------------------------

             Summary: 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: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Robert Levas
            Assignee: Robert Levas
             Fix For: 2.0.0


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)