Interface layer for the namenode-cluster peer relation
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
copyright
interface.yaml
peers.py

README.md

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}.joined The 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 one
    • hosts_map() The hosts mapping of all other NameNodes

Contact Information

Hadoop