[ 
https://issues.apache.org/jira/browse/HDDS-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell updated HDDS-3079:
------------------------------------
    Summary: Extract Rack Specific code from Container and Pipeline placement 
policies into a common parent  (was: Consider merging PipelinePlacementPolicy 
and SCMContainerPlacementPolicyRackAware)

> Extract Rack Specific code from Container and Pipeline placement policies 
> into a common parent
> ----------------------------------------------------------------------------------------------
>
>                 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to