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

Dynamically update Rolling Upgrade batch size

    XMLWordPrintableJSON

Details

    Description

      We have a default value 100 for Rolling Upgrade batch size. In order to modify that size, upgrade.xml should have <max-degree-of-parallelism> or stack should define it.

      However, we can provide a way to update the batch size dynamically using some config that can be updated by client using Rest API and subsequent Rolling Upgrade can get the updated batch size from the config.

      Before starting off with Rolling Upgrade, we can update "cluster-env" config with property key: "max_degree_parallelism". If the value of this key is integer, that value will be selected as Batch Size. If not, then the default behavior will continue.

      Attachments

        Activity

          People

            vjasani Viraj Jasani
            vjasani Viraj Jasani
            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 - 3h
                3h