Neil Joshi created HDDS-8491:
--------------------------------

             Summary: Update PipelinePlacementPolicies to use 
SCMContainerPlacementPolicies
                 Key: HDDS-8491
                 URL: https://issues.apache.org/jira/browse/HDDS-8491
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Neil Joshi


Currently, there are two sets of implementations for placement policies, 
pipelinePlacementPolicies and SCMContainerPlacementPolicies.  The 
SCMContainerPlacementPolices are more up-to-date and complete than the 
pipelineplacementpolicies.  This Jira is to re-use the 
SCMContainerPlacementPolicies for pipeline placement.

 

Currently the SCMContainerPlacementRackScatter is used by the 
PipelinePlacementFactory to implement the rack scatter policy for pipeline 
placement.  This should be expanded to include,

{{{}SCMContainerPlacementCapacity{}}},
{{{}SCMContainerPlacementRackAware{}}}, {{SCMContainerPlacementRandom}}

As discussed in 
https://github.com/apache/ozone/pull/4002#discussion_r1039234550.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to