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

Downgrade From HDP 2.6 to 2.5 Leaves 2.6 Hosts as CURRENT Instead of INSTALLED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.6.1
    • None
    • None

    Description

      STR:

      • Install HDP 2.5.4 with ZK
      • Perform an RU to 2.6.0.0
      • Downgrade back to 2.5.4

      All hosts remain current after finalization:

      {
        "href": "http://localhost:8080/api/v1/clusters/c1/stack_versions?fields=ClusterStackVersions/host_states",
        "items": [
          {
            "href": "http://localhost:8080/api/v1/clusters/c1/stack_versions/1",
            "ClusterStackVersions": {
              "cluster_name": "c1",
              "id": 1,
              "repository_version": 1,
              "stack": "HDP",
              "version": "2.5",
              "host_states": {
                "CURRENT": [
                  "c6403.ambari.apache.org",
                  "c6402.ambari.apache.org",
                  "c6401.ambari.apache.org"
                ],
                "INSTALLED": [],
                "INSTALLING": [],
                "INSTALL_FAILED": [],
                "NOT_REQUIRED": [],
                "OUT_OF_SYNC": []
              }
            }
          },
          {
            "href": "http://localhost:8080/api/v1/clusters/c1/stack_versions/2",
            "ClusterStackVersions": {
              "cluster_name": "c1",
              "id": 2,
              "repository_version": 2,
              "stack": "HDP",
              "version": "2.6",
              "host_states": {
                "CURRENT": [
                  "c6403.ambari.apache.org",
                  "c6402.ambari.apache.org",
                  "c6401.ambari.apache.org"
                ],
                "INSTALLED": [],
                "INSTALLING": [],
                "INSTALL_FAILED": [],
                "NOT_REQUIRED": [],
                "OUT_OF_SYNC": []
              }
            }
          }
        ]
      }
      

      Attachments

        1. AMBARI-22312.patch
          6 kB
          Jonathan Hurley

        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: