Jason Kace updated HDFS-10687:
    Attachment: HDFS-10467-HDFS-10687-001.patch

Attaching first patch version for review.

This patch contains some overlap code (common dependencies) with HDFS-10630 
(Federation State Store).  The code compiles as is, but is not functional until 
HDFS-10630 is committed.

The Federation membership state API functions are defined in 
 and are implemented in 

The primary function of the membership state API is to persist the data 
required to identify the most active, or recently active, NN for each 
nameservice.  This is a key feature for HDFS federation.  Individual routers 
monitor 1-N namenodes and heartbeat the namenode status into the state store.  
The NN heartbeat code is available for review in HDFS-10629.  This patch 
contains the APIs to query, update and cache the reported state of all NNs in 
the cluster.

The additional files pertain to request/response API objects and the protobuf 
backing implementation of them.

All comments and feedback are welcome!

> Federation Membership State Store internal APIs
> -----------------------------------------------
>                 Key: HDFS-10687
>                 URL: https://issues.apache.org/jira/browse/HDFS-10687
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: fs
>            Reporter: Inigo Goiri
>            Assignee: Jason Kace
>         Attachments: HDFS-10467-HDFS-10687-001.patch
> The Federation Membership State encapsulates the information about the 
> Namenodes of each sub-cluster that are participating in Federation. The 
> information includes addresses for RPC, Web. This information is stored in 
> the State Store and later used by the Router to find data in the federation.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to