[
https://issues.apache.org/jira/browse/HDFS-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136147#comment-13136147
]
Todd Lipcon commented on HDFS-1971:
-----------------------------------
Only non-nitty thing I would suggest: rather than having just a
bpServiceToActive and bpServiceToStandby, could we consider having:
{code}
List<BPServiceActor> bpServiceActors;
BPServiceActor bpServiceToActive; // reference to one of the above NNs
{code}
then we can change a lot of the code to loop over bpServiceActors rather than
having two separate calls to active and standby.
Although we don't plan to support multiple-standby in today's implementation, I
don't think the above introduces any extra complexity, and in fact will make
the code cleaner, while also paving the way for a multiple-standby
implementation in the future.
> HA: Send block report from datanode to both active and standby namenodes
> ------------------------------------------------------------------------
>
> Key: HDFS-1971
> URL: https://issues.apache.org/jira/browse/HDFS-1971
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node, name-node
> Reporter: Suresh Srinivas
> Assignee: Sanjay Radia
> Attachments: DualBlockReports.pdf, daulBr1.patch, dualBr2.patch,
> dualBr3.patch
>
>
> To enable hot standby namenode, the standby node must have current
> information for - namenode state (image + edits) and block location
> information. This jira addresses keeping the block location information
> current in the standby node. To do this, the proposed solution is to send
> block reports from the datanodes to both the active and the standby namenode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira