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

Expose Upgrade Custom Server Actions via an Ambari Client Library

    XMLWordPrintableJSON

Details

    Description

      During a stack upgrade, it is possible for upgrade packs to specify custom Java classes which will run in order to alter configurations or perform other tasks on the cluster. The following is an example of this type of action:

      <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.RangerKmsProxyConfig">
        <summary>Adding Ranger proxy user properties under kms-site</summary>
      </task>
      

      Historically, these tasks have typically been used to alter configurations of the cluster using more complex logic than the XML markup in an upgrade pack could provide.

      With stacks and mpacks being moved out of Apache source control, Ambari needs a way for 3rd party developers to provide these actions with the delivery of their stack.

      • The Ambari API/SPI created as part of AMBARI-24685 will need to include classes which provide retrieval and modification of configurations in addition to contracts for the server-side action
      • Ambari will need to scan for matching classes and register them during the upgrade

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m