[
https://issues.apache.org/jira/browse/HDFS-17534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854607#comment-17854607
]
ASF GitHub Bot commented on HDFS-17534:
---------------------------------------
yuanboliu commented on code in PR #6861:
URL: https://github.com/apache/hadoop/pull/6861#discussion_r1637443246
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/site/markdown/HDFSRouterFederation.md:
##########
@@ -288,6 +288,7 @@ For deciding where to create a new file/folder it uses the
order parameter, it c
* RANDOM: Random subcluster. This is usually useful for balancing the load
across. Folders are created in all subclusters.
* HASH_ALL: Follow consistent hashing at all the levels. This approach tries
to balance the reads and writes evenly across subclusters. Folders are created
in all subclusters.
* SPACE: Try to write data in the subcluster with the most available space.
Folders are created in all subclusters.
+* LEADER_FOLLOWER: Try to write data in the leader sub-cluster as many as
possible, if failed, try follower sub-clusters then. Folders are created in all
sub-clusters.
Review Comment:
Thanks, updated.
> RBF: Support leader follower mode for multiple subclusters
> ----------------------------------------------------------
>
> Key: HDFS-17534
> URL: https://issues.apache.org/jira/browse/HDFS-17534
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: rbf
> Reporter: Yuanbo Liu
> Assignee: Yuanbo Liu
> Priority: Major
> Labels: pull-request-available
>
> Currently there are five modes in multiple subclusters like
> HASH, LOCAL, RANDOM, HASH_ALL,SPACE;
> Proposal a new mode called leader/follower mode. routers try to write to
> leader subcluster as many as possible. When routers read data, put leader
> subcluster into first rank.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]