[ 
https://issues.apache.org/jira/browse/HDFS-14004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657197#comment-16657197
 ] 

Ayush Saxena commented on HDFS-14004:
-------------------------------------

bq.  I don't know if removing the block report pause will break the test 
scenario.

IIUC the pauseIBR was added to prevent the block getting into the completed 
state.If it gets completed we wouldn't be getting that exception message.But in 
general the block here changes to complete when a new block request is given 
(when second block is requested) and the last block for which we are checking 
will get completed generally when close is called(which we don't). If there is 
some other scenario which could complete then back to 2 as [~knanasi] already 
said the safest of all.

But in practical deployments that wouldn't be a usual scenario where just one 
block would be written whereas IBR wouldn't be on pause ever.

Triggered v1 to check are the results in my local sync with the Jenkins.

[~elgoiri] Any suggestions from your side?

> TestLeaseRecovery2#testCloseWhileRecoverLease fails intermittently in trunk
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-14004
>                 URL: https://issues.apache.org/jira/browse/HDFS-14004
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14004-01.patch
>
>
> Reference
> https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/930/testReport/junit/org.apache.hadoop.hdfs/TestLeaseRecovery2/testCloseWhileRecoverLease/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to