[
https://issues.apache.org/jira/browse/HDDS-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269211#comment-17269211
]
Shashikant Banerjee commented on HDDS-4710:
-------------------------------------------
Thanks [~Nibiruxu] for the contribution.
> Pipeline: chooseDatanodes function random pick not working
> -----------------------------------------------------------
>
> Key: HDDS-4710
> URL: https://issues.apache.org/jira/browse/HDDS-4710
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Xu Shao Hong
> Assignee: Xu Shao Hong
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
> Attachments: image-2021-01-15-17-46-31-492.png
>
>
> I was trying to configure a four-node cluster to test SCM HA, after
> configuring the ozone.datanode.pipeline.limit to 3 and 5 separately, the
> pipeline existed only chose the first three data nodes, the fourth node was
> never chosen.(They are equal nodes)
> The bug here is due to that the method
> *{color:#172b4d}+chooseDatanodes+{color}* in PipelinePlacementPolicy calls
> *+super.getResultSet+*, in which another method
> +{color:#172b4d}*chooseNode*{color}+ is called. This +*chooseNode*+ method is
> an abstract method in the superclass and is overridden in
> PipelinePlacementPolicy. The overridden version uses a simple logic instead
> of a randomly chosen policy which incurs my problem.
>
>
> * !image-2021-01-15-17-46-31-492.png!
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]