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

Expose via API whether a service will participate in an upgrade

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      Expose whether a service will participate in an upgrade based on whether the release-version is satisfied by the cluster topology. Updated API looks like:

            "ClusterStackVersions" : {
              "cluster_name" : "c1",
              "id" : 201,
              "repository_summary" : {
                "services" : {
                  "STORM" : {
                    "display_name" : "Storm",
                    "version" : "1.2.3",
                    "release_version" : "2.5.3.0",
                    "upgrade" : true
                  },
                  "ZOOKEEPER" : {
                    "display_name" : "ZooKeeper",
                    "version" : "3.4.6",
                    "release_version" : "2.5.3.0",
                    "upgrade" : true
                  },
                  "AMBARI_METRICS" : {
                    "display_name" : "Ambari Metrics",
                    "version" : null,
                    "release_version" : null,
                    "upgrade" : false
                  }
                }
              },
      

      Attachments

        1. AMBARI-21671.patch
          26 kB
          Nate Cole

        Issue Links

          Activity

            People

              ncole@hortonworks.com Nate Cole
              ncole@hortonworks.com Nate Cole
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: