[ 
https://issues.apache.org/jira/browse/HDFS-13522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461763#comment-16461763
 ] 

Íñigo Goiri commented on HDFS-13522:
------------------------------------

There are two main changes to do:
* Collect the OBSERVER state in {{NamenodeHeartbeatService}} and store it in 
the {{MembershipStore}} through the {{FederationNamenodeServiceState}}
* Allow the {{RouterRpcClient}} to pick OBSERVER NNs to perform the operations.

Both changes should be fairly easy to add.
It would be handy to have a setup of the MiniDFSCluster that sets OBSERVER NNs 
automatically and having some predefined contract that makes sure that requests 
are going to the OBSERVER. Is there something along those lines already 
available in HDFS-12943?

> Support observer node from Router-Based Federation
> --------------------------------------------------
>
>                 Key: HDFS-13522
>                 URL: https://issues.apache.org/jira/browse/HDFS-13522
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: federation, namenode
>            Reporter: Erik Krogen
>            Priority: Major
>
> Changes will need to occur to the router to support the new observer node.
> One such change will be to make the router understand the observer state, 
> e.g. {{FederationNamenodeServiceState}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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