[
https://issues.apache.org/jira/browse/HDFS-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2612:
------------------------------
Attachment: hdfs-2612.txt
Attached patch applies on top of HDFS-1971. I broke out BlockPoolManager to a
new file so I could easily add true unit tests against mocks. I ran all of the
tests that call refreshNameNodes or call MiniDFSCluster.addNameNode, and they
passed.
I elected not to support changing the set of NNs within a namespace - you can
only add or remove namespaces. Converting a namespace from non-HA to HA will
require a restart. But I think that's fine for a first implementation, and we
can always add that feature later if need be.
> HA: handle refreshNameNodes in federated HA clusters
> ----------------------------------------------------
>
> Key: HDFS-2612
> URL: https://issues.apache.org/jira/browse/HDFS-2612
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node, ha
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-2612.txt
>
>
> For expediency in HDFS-1971 we've commented out the {{refreshNameNodes}}
> function temporarily on branch. Need to fix that code to handle refresh with
> HA.
--
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