ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9102) Refactor rolling upgrades prerequisite checks to expose and repackage utility classes
Date Tue, 13 Jan 2015 10:29:35 GMT

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

Robert Levas updated AMBARI-9102:
---------------------------------
    Issue Type: Improvement  (was: Bug)

> 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
>
>
> 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)

Mime
View raw message