[
https://issues.apache.org/jira/browse/HDFS-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dian Fu updated HDFS-6465:
--------------------------
Attachment: HDFS-6465.patch
There are no test cases in this patch, will add test cases afterwards.
> Enable the configuration of multiple clusters
> ---------------------------------------------
>
> Key: HDFS-6465
> URL: https://issues.apache.org/jira/browse/HDFS-6465
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Dian Fu
> Assignee: Dian Fu
> Attachments: HDFS-6465.patch
>
>
> Tracks the changes required for configuration DR.
> configurations added:
> DFS_REGION_ID("dfs.region.id") : the region id of current cluster
> DFS_REGIONS("dfs.regions") : the region ids of all clusters, including
> both the primary cluster and mirror cluster
> DFS_REGION_PRIMARY("dfs.region.primary") : the region id of primary
> cluster
> configurations modified:
> The configurations in NAMENODE.NAMENODE_SPECIFIC_KEYS can be configured
> in the following format to distinguish between clusters.
> If a configuration with a region id as suffix cannot be found, the
> configuration without region id as suffix will be used instead:
> <configuration key>.<nameservice id>.<namenode id>.<region id>
> The configurations in NAMENODE.NAMESERVICE_SPECIFIC_KEYS can be configured in
> the following format to distinguish between clusters.
> If a configuration with a region id as suffix cannot be found, the
> configuration without region id as suffix will be used instead:
> <configuration key>.<nameservice id>.<region id>
--
This message was sent by Atlassian JIRA
(v6.2#6252)