Overview
This interface layer handles the communication between the NameNodes in an HA deployment of the Apache Hadoop cluster.
Usage
Peers
The NameNode uses this interface internally to manage its peer relations.
This interface layer will set the following states, as appropriate:
{relation_name}.joinedThe NameNode is HA. It can get information about the cluster with the following methods:nodes()The list (max 2) of NameNode host names, including this onehosts_map()The hosts mapping of all other NameNodes