[ https://issues.apache.org/jira/browse/HDDS-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855015#comment-16855015 ]
Xiaoyu Yao commented on HDDS-1637: ---------------------------------- The root cause is the test has a mocked node(2) with size of 10, which is less than the required size 15 used in the test cases. If that node(2) happened to be chosen and then retry without being added to the excluded list, the rackaware algorithm will end up retry 3 times and fail. > Fix random test failure TestSCMContainerPlacementRackAware > ---------------------------------------------------------- > > Key: HDDS-1637 > URL: https://issues.apache.org/jira/browse/HDDS-1637 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Priority: Major > > This has been seen randomly in latest trunk CI, e.g., > [https://ci.anzix.net/job/ozone/16980/testReport/org.apache.hadoop.hdds.scm.container.placement.algorithms/TestSCMContainerPlacementRackAware/testFallback/] > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org