Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

Info

As of Ambari 2.0, Ambari Blueprints supports deploying HA HDFS, YARN & HBase RegionServers.

Table of Contents
minLevel2

Summary

As of Ambari 2.0 added support to the Blueprint functionality which allows for deploying High-Availability (HA) for certain components.

 

Prior to this functionality, configuring HA required manually using the Ambari Web HA Wizards after deployment of the cluster.

 

The functionality supports these components:

, Blueprints are able to deploy the following components with HA:

  •  HDFS NameNode HA
  • YARN ResourceManager HA
  • HBase RegionServers HA
Support may be added for other Hadoop technologies in later releases.  


This functionality currently requires providing fine-grained configurations. This document provides examples.

FAQ

Compatibility with Ambari UI 

While this feature does not require the Ambari UI to function, the Blueprints HA feature is completely compatible with the Ambari UI.  An HA cluster created via Blueprints can be monitored and configured via the Ambari UI, just as any other Blueprints cluster would function.  

...

Expert-Mode Configuration

In Ambari 2.0, the Blueprint support for HA requires the Blueprint to contain exact fine-grained configurations. See the examples below for more detail.

...

  

Supported Stack Versions

This feature is

...

supported as of HDP 2.1

...

and newer releases. Previous versions of HDP have not been tested with this feature.  

Examples

...

Getting Started with Blueprints HA

...

Blueprint Example: HDFS NameNode HA Cluster

Summary

HDFS NameNode HA allows a cluster to be configured such that a NameNode is not a single point of failure.

For more details on HDFS NameNode HA see the Apache Hadoop documentation.

...

  • 2 NameNodes are deployed: an “active” and a “passive” namenode.
  • If the active NameNode should stop functioning properly, the passive node’s Zookeeper client will detect this case, and the passive node will become the new active node.
  • HDFS relies on Zookeeper to manage the details of failover in these cases.
  • The Blueprints HA feature will automatically invoke all required commands and setup steps for an HDFS NameNode HA cluster, provided that the correct configuration is provided in the Blueprint.  The shared edit logs of each NameNode are managed by the Quorum Journal Manager, rather than NFS shared storage.  The use of NFS shared storage in an HDFS HA setup is not supported by Ambari Blueprints, and is generally not encouraged.  

...

  • .

...

  •  

...

How

The Blueprints HA feature will automatically invoke all required commands and setup steps for an HDFS NameNode HA cluster, provided that the correct configuration is provided in the Blueprint.  The shared edit logs of each NameNode are managed by the Quorum Journal Manager, rather than NFS shared storage.  The use of NFS shared storage in an HDFS HA setup is not supported by Ambari Blueprints, and is generally not encouraged.  

...

Blueprint Example: Yarn ResourceManager HA Cluster

Summary

Yarn ResourceManager High Availability (HA) adds support for deploying two Yarn ResourceManagers in a given Yarn cluster.  This support removes the single point of failure that occurs when single ResourceManager is used.  

...

Blueprint Example: HBase RegionServer HA Cluster

Summary


HBase provides a High Availability feature for reads across HBase Region Servers.  

...