Created on 01-07-201902:26 PM - edited 08-17-201904:59 AM
Problem statement:
How to upgrade Apache Ambari 2.6.2 to Apache Ambari 2.7.3
Abstract:
Apache Ambari 2.7.3 is the latest among Ambari 2.7.x releases. Ambari 2.7.0, which was the first release in the 2.7.x series introduced significant improvements from its predecessor - Ambari 2.6.2. This tutorial will help users upgrade from Ambari 2.6.2.2 to Ambari 2.7.3
From Ambari UI: Admin > Service Auto Start. Set Auto Start Services to Disabled. Click Save.
3. Run Service Checks on all Ambari services
On each of the Ambari services installed on your cluster, Run Service Checks as shown below:
From Ambari UI: <Service_Name> > Service Actions > Run Service Check
For example: HDFS > Service Actions > Run Service Check
4. Start and Stop all of the Ambari services from Ambari UI.
II. Stop Services
1. If
SmartSense is deployed, stop it and turn on Maintenance Mode
–From
Ambari Web,
browse to Services > SmartSense and
select Stop from
the Service Actions
menu. Then, select Turn
on Maintenance Mode from
the Service Actions
menu.
2. If
Ambari Metrics is deployed, stop
it and turn on Maintenance Mode
–From
Ambari Web,
browse to Services > Log Search
and select Stop from
the Service Actions
menu. Then, select Turn
on Maintenance Mode from
the Service Actions
menu.
3. If
you are running Log Search in your cluster, stop the service.
–From
Ambari Web,
browse to Services > Log Search
and select Stop from
the Service Actions
menu. Then, select Turn
on Maintenance Mode from
the Service Actions
menu.
Important:If you have deployed HDF components in your HDP setup, you need to upgrade the HDF Management Pack before upgrading the Database Schema in step IV: Upgrade the HDF Management Pack
3. Upgrade Ambari agents
# yum clean all
# yum upgrade ambari-agent
IV. Upgrade Database Schema
1. On the Ambari server host, upgrade the Ambari database schema