Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18050

Upgrade pre-req check code needs to be decoupled from CheckDescription class

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk, 2.5.0, 2.4.2
    • ambari-server
    • None

    Description

      Currently each pre-req check must add an entry in the CheckDescription enum. This limits the ability for third party stacks and extensions to provide their own pre-req checks.

      The CheckDescription enum 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.

      Attachments

        1. AMBARI-18050.patch
          32 kB
          Tim Thorpe

        Issue Links

          Activity

            People

              Tim Thorpe Tim Thorpe
              Tim Thorpe Tim Thorpe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: