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

Argument for manually setting CURRENT is unclear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • 3.0.0
    • ambari-server
    • None

    Description

      It is currently possible to set the CURRENT repo_version for a component. The API is a little misleading. The call below should also check for the version string, not just the display name. Could also check for the id itself too.

      PUT /api/v1/clusters/c1/stack_versions
      {
        "ClusterStackVersions": {
          "force": true,
          "state": "CURRENT",
          "repository_version": "HDP-2.5.1.0"    <------- must be display name
        }
      }
      

      Attachments

        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: