[
https://issues.apache.org/jira/browse/HBASE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740482#comment-13740482
]
Himanshu Vashishtha commented on HBASE-9195:
--------------------------------------------
To add more info:
The interesting bit is it fails on java7 build, and has never failed on java6
(yet). This failure is hard to reproduce as I couldn't repro it on any other
m/c (tried it on local/other vms on java7). Whenever it fails, it just stops
printing after second iteration, and then test just times out (30 sec). The
only thing it does b/w 2nd and 3rd try is to keep invoking isFileClosed after
every 10ms. This made me think that it is hanging on that call. Upping the
pause time is a safety measure just to reduce the number of calls.
> TestFSHDFSUtils is too aggressive
> ---------------------------------
>
> Key: HBASE-9195
> URL: https://issues.apache.org/jira/browse/HBASE-9195
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.95.1
> Reporter: Himanshu Vashishtha
> Priority: Minor
> Attachments: HBase-9195.patch, HBase-9195.patch
>
>
> The recoverLease test in this class sets hbase.lease.recovery.pause to 10ms.
> It causes that after every 10 ms, it calls isFileClosed (if it is available).
> Though the test takes only 3-4 sec, but it makes about 270 isFileClosed
> calls. This cause test to become somewhat flaky in our internal testing.
> The proposed fix is to just to increase the pause interval to 100 ms. This
> reduces the number of calls to about 30.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira