[ 
https://issues.apache.org/jira/browse/HDFS-15904?focusedWorklogId=568800&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-568800
 ]

ASF GitHub Bot logged work on HDFS-15904:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Mar/21 07:00
            Start Date: 19/Mar/21 07:00
    Worklog Time Spent: 10m 
      Work Description: virajjasani commented on a change in pull request #2785:
URL: https://github.com/apache/hadoop/pull/2785#discussion_r597445601



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
##########
@@ -2297,7 +2297,9 @@ public void testBalancerWithSortTopNodes() throws 
Exception {
       maxUsage = Math.max(maxUsage, datanodeReport[i].getDfsUsed());
     }
 
-    assertEquals(200, balancerResult.bytesAlreadyMoved);
+    // Either 2 blocks of 100+100 bytes or 3 blocks of 100+100+50 bytes

Review comment:
       Sure thing, let me provide detailed comment as per your suggestion.
   Thanks




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 568800)
    Time Spent: 1h  (was: 50m)

> Flaky test TestBalancer#testBalancerWithSortTopNodes()
> ------------------------------------------------------
>
>                 Key: HDFS-15904
>                 URL: https://issues.apache.org/jira/browse/HDFS-15904
>             Project: Hadoop HDFS
>          Issue Type: Test
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> TestBalancer#testBalancerWithSortTopNodes shows some flakes in around ~10 
> runs or so. It's reproducible locally also. Basically, balancing either moves 
> 2 blocks of size 100+100 bytes or it moves 3 blocks of size 100+100+50 bytes 
> (2nd case causes flakies).



--
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