You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aravindan Vijayan (Jira)" <ji...@apache.org> on 2021/09/30 19:42:00 UTC

[jira] [Assigned] (HDDS-5804) SCMContainerPlacementCapacity is working incorrectly

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

Aravindan Vijayan reassigned HDDS-5804:
---------------------------------------

    Assignee: Aswin Shakil Balasubramanian  (was: Aravindan Vijayan)

> SCMContainerPlacementCapacity is working incorrectly
> ----------------------------------------------------
>
>                 Key: HDDS-5804
>                 URL: https://issues.apache.org/jira/browse/HDDS-5804
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>    Affects Versions: 1.2.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aswin Shakil Balasubramanian
>            Priority: Major
>
> From the Javadoc of the class
> {code}
>  * Container placement policy that randomly choose datanodes with remaining
>  * space to satisfy the size constraints.
>  * <p>
>  * The Algorithm is as follows, Pick 2 random nodes from a given pool of nodes
>  * and then pick the node which lower utilization. This leads to a higher
>  * probability of nodes with lower utilization to be picked.
>  * <p>
> {code}
> In SCMContainerPlacementCapacity#chooseNode, we choose the node with a higher utilization % (scmUsed / capacity). This is used by the replication manager to pick a node to replicate an under-replicated container to. This means that if configured, this policy will pick the more used nodes, thereby creating the opposite effect.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org