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

Old Status Command Structured Output is Returned on Every Status Command Causing Upgrades to Fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.1
    • 2.5.1
    • ambari-server
    • None

    Description

      Possibly caused by AMBARI-20750:

      Upgrades are failing because of a VERSION_MISMATCH between all components of the upgrade. Initially, on restart, the version comes back correct and the host component transitions into COMPLETED.

      However, the following status command returns the old version, forcing the component back into the VERSION_MISMATCH state.

      What's odd is that no status commands should be returning the component version. It seems like what's happening is that /var/lib/ambari-agent/data/structured-out-status.json is being read even if the status command did not update the file.

      Attachments

        1. AMBARI-20924.patch
          4 kB
          Jonathan Hurley

        Activity

          People

            jonathanhurley Jonathan Hurley
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: