You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Tim Thorpe (JIRA)" <ji...@apache.org> on 2016/08/05 19:15:20 UTC

[jira] [Created] (AMBARI-18050) Upgrade pre-req check code needs to be decoupled from CheckDescription class

Tim Thorpe created AMBARI-18050:
-----------------------------------

             Summary: Upgrade pre-req check code needs to be decoupled from CheckDescription class
                 Key: AMBARI-18050
                 URL: https://issues.apache.org/jira/browse/AMBARI-18050
             Project: Ambari
          Issue Type: New Feature
          Components: ambari-server
    Affects Versions: trunk
            Reporter: Tim Thorpe
            Assignee: Tim Thorpe


Each pre-req check must add an entry in the CheckDescription enum.  This obviously requires a change to ambari-server java code.  This limits the ability for third party stacks and extensions to provide their own pre-req checks.

CheckDescription should be rewritten as a class and each pre-req check class should create an instance of it.  This will allow stacks and extensions to include their own pre-req checks in separate jar files without requiring changes to ambari-server java code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)