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

After Intra-Stack Upgrade Web Client Still Uses Old Stack Version In Requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • ambari-web
    • None

    Description

      After upgrading from HDP 2.2 to HDP 2.3, the web client is using the wrong stack version when making requests to endpoints like validation and recommendations.

      STR:
      1) Install HDP 2.2 (ZooKeeper only is enough)
      2) Perform Express Upgrade to HDP 2.3
      3) Try to add a service, like Storm

      Observe:

      Remote Address:[::1]:8080
      Request URL:http://localhost:8080/api/v1/stacks/HDP/versions/2.2/validations
      Request Method:POST
      Status Code:200 OK
      

      and

      Remote Address:[::1]:8080
      Request URL:http://localhost:8080/api/v1/stacks/HDP/versions/2.2/recommendations
      Request Method:POST
      Status Code:200 OK
      

      This causes invalid recommendations and configurations when adding services after upgrade. If the user logs out and then back in, the correct version is used.

      Attachments

        1. AMBARI-14167.patch
          0.8 kB
          Srimanth Gunturi

        Activity

          People

            srimanth.gunturi Srimanth Gunturi
            srimanth.gunturi Srimanth Gunturi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: