[
https://issues.apache.org/jira/browse/HADOOP-14472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033744#comment-16033744
]
Mingliang Liu commented on HADOOP-14472:
----------------------------------------
I'd suggest we currently remove this assertion. This fails 8 out of 10 runs on
my laptop (not Azure VM).
A better approach is to support metrics or instrumentation, and we can verify
that to make sure hsync was called enough times. As S3A.
> Azure: TestReadAndSeekPageBlobAfterWrite fails intermittently
> -------------------------------------------------------------
>
> Key: HADOOP-14472
> URL: https://issues.apache.org/jira/browse/HADOOP-14472
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure, test
> Reporter: Mingliang Liu
>
> Reported by [HADOOP-14461]
> {code}
> testManySmallWritesWithHFlush(org.apache.hadoop.fs.azure.TestReadAndSeekPageBlobAfterWrite)
> Time elapsed: 1.051 sec <<< FAILURE!
> java.lang.AssertionError: hflush duration of 13, less than minimum expected
> of 20
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at
> org.apache.hadoop.fs.azure.TestReadAndSeekPageBlobAfterWrite.writeAndReadOneFile(TestReadAndSeekPageBlobAfterWrite.java:286)
> at
> org.apache.hadoop.fs.azure.TestReadAndSeekPageBlobAfterWrite.testManySmallWritesWithHFlush(TestReadAndSeekPageBlobAfterWrite.java:247)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]