1. Prerequisites

To perform an automated cluster upgrade from Ambari, your cluster must meet the following prerequisites:

Item

Requirement

Description

Cluster

Stack Version

Must be running HDP 2.2 Stack. This capability is not available for HDP 2.0 or 2.1 Stacks.

Version

Target Version

All hosts must have the target version installed. See the Register Version and Install Version sections for more information.

HDFS

NameNode HA

NameNode HA must be enabled and working properly. See the Ambari User’s Guide for more information Configuring NameNode High Availability.

HDFS

Decommission

No components should be in decommissioning or decommissioned state.

YARN

YARN WPR

Work Preserving Restart must be configured.

Hosts

Heartbeats

All Ambari Agents must be heartbeating to Ambari Server. Any hosts that are not heartbeating must be in Maintenance Mode.

Hosts

Maintenance Mode

Any hosts in Maintenance Mode must not be hosting any Service master components.

Services

Services Up

All Services must be started.

Services

Maintenance Mode

No Services can be in Maintenance Mode.

If you do not meet the upgrade prerequisite requirements listed above, you can consider a Manual Upgrade of the cluster.