You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2020/02/26 11:16:00 UTC
[jira] [Created] (HDDS-3079) Consider merging
PipelinePlacementPolicy and SCMContainerPlacementPolicyRackAware
Stephen O'Donnell created HDDS-3079:
---------------------------------------
Summary: Consider merging PipelinePlacementPolicy and SCMContainerPlacementPolicyRackAware
Key: HDDS-3079
URL: https://issues.apache.org/jira/browse/HDDS-3079
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Affects Versions: 0.6.0
Reporter: Stephen O'Donnell
The Ratis pipeline provider uses a class PipelinePlacementPolicy to selection datanodes for new pipelines in a rack aware fashion. This class also considers server load when selecting hosts and in the future, it may have more features.
However, SCMContainerPlacementPolicyRackAware implements very similar rack aware node choosing logic and is used by the replication manager.
It is possible these two implementations could diverge and it also means we have two places to make changes if there are any improvements made.
It would be worth investigating if at least the rack aware node choosing logic can be shared between these two classes, or even better the same class can be used for both.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org