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

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

                Author: ASF GitHub Bot
            Created on: 01/Dec/20 15:02
            Start Date: 01/Dec/20 15:02
    Worklog Time Spent: 10m 
      Work Description: iwasakims opened a new pull request #2507:
URL: https://github.com/apache/hadoop/pull/2507


   https://issues.apache.org/jira/browse/HDFS-15702
   
   dfs.blockreport.intervalMsec is set to 1000 in the TestDecommission. While 
the testAllocAndIBRWhileDecommission tries to stop IBRs by 
DataNodeTestUtils#pauseIBR, IBR still can be sent in the code path of FBR 
(BPServiceActor#blockReport). Avoiding FBR (except for the 1st BR) by setting 
dfs.blockreport.intervalMsec to enough long value should fix the issue. The 
testAllocAndIBRWhileDecommission does not depend on FBR.
   
   The test failure can not be reproduced in 100 runs after applying the patch 
on my local.
   
   ```
   for i in `seq 100` ; do echo $i && mvn test -DignoreTestFailure=false 
-Dtest=TestDecommission#testAllocAndIBRWhileDecommission || break ; done
   ```
   


----------------------------------------------------------------
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: 518468)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix intermittent falilure of TestDecommission#testAllocAndIBRWhileDecommission
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-15702
>                 URL: https://issues.apache.org/jira/browse/HDFS-15702
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {noformat}
> java.lang.AssertionError: expected:<COMMITTED> but was:<COMPLETE>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:834)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.hadoop.hdfs.TestDecommission.testAllocAndIBRWhileDecommission(TestDecommission.java:1025)
> {noformat}



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