[
https://issues.apache.org/jira/browse/HDFS-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Boudnik updated HDFS-1206:
-------------------------------------
Attachment: HDFS-1206.patch
The attached patch solves the issue. Here's the reason for the intermittent
failure we've been seen on and off:
- test expects to find a pipeline in place when hflush is called.
- as we are hflush'ing something like 1/10th of a block size after each write
op. pipeline might get disassembled after 10th hflush is happening (in cases of
files <= block_size)
- the cases above are exactly where we see intermittent failures (0[1-2]_a)
Thus, but fixing the assumption (i.e. we have to validate smthg on an existing
pipeline) the test gets effectively fixed.
Review anyone?
> TestFiHFlush fails intermittently
> ---------------------------------
>
> Key: HDFS-1206
> URL: https://issues.apache.org/jira/browse/HDFS-1206
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.21.0, 0.21.1, 0.22.0
> Reporter: Tsz Wo (Nicholas), SZE
> Attachments: HDFS-1206.patch
>
>
> When I was testing HDFS-1114, the patch passed all tests except TestFiHFlush.
> Then, I tried to print out some debug messages, however, TestFiHFlush
> succeeded after added the messages.
> TestFiHFlush probably depends on the speed of BlocksMap. If BlocksMap is
> slow enough, then it will pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.