Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Rising Star

Ambari version 2.5 provides a new Upgrade History page. This is useful in many ways such as:

  • Determine the history of upgrades that your cluster has undergone (and any issues).
  • Collect any specific logs from within the web UI without the need to login to the respective host.
  • Determine time taken for upgrade, which gives an indication of the time required for the next upgrade.

In short, Upgrade planning and troubleshooting are two aspects addressed through this page

Here is how the ‘Upgrade History’ page looks:

15204-upgrade-history-ambari.png

Besides the above UI, you could also retrieve the entire Upgrade output through a couple of Ambari API calls

http://<ambari_server>:8080/api/v1/clusters/<cluster_name>/upgrades

The above call provides the list of Upgrade ids. The highest id in the list is usually the most recent Upgrade on the cluster. This upgrade_id serves as an input to the second call as follows:

http://<ambari_server>:8080/api/v1/clusters/<cluster_name>/upgrades/<upgrade_id>?fields=upgrade_grou...

The second call provides the entire Upgrade output grouped by Upgrade Groups, Upgrade Items and finally the Upgrade Tasks. You could extend the call by including additional fields as they appear in an Upgrade task output as below:

15205-screen-shot-2017-05-08-at-85816-pm.png

Additionally you could redirect the output of above call to a file and send it over for troubleshooting any issues.

809 Views
Version history
Last update:
‎08-17-2019 01:05 PM
Updated by:
Contributors