[
https://issues.apache.org/jira/browse/HBASE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740406#comment-13740406
]
Himanshu Vashishtha commented on HBASE-9195:
--------------------------------------------
Thanks for reviewing Jon.
In internal jenkins, I find it is hanging after the second retry on
recoverLease (and doesn't move forward to next iteration on). The only thing it
is doing during that time is calling isFileClosed after 10ms. This is what i
see in the console:
{code}
14:14:58,256 INFO [Thread-1] util.FSHDFSUtils(173): recoverLease=false,
attempt=1 on
file=/XXXX/target/test-data/e6526141-23dd-4987-9ec5-578dc2922146/file.txt after
55ms
14:14:59,262 INFO [Thread-1] util.FSHDFSUtils(173): recoverLease=false,
attempt=2 on
file=/XXXX/target/test-data/e6526141-23dd-4987-9ec5-578dc2922146/file.txt after
1061ms
{code}
It is not that frequent. Let me look at the findbugs report.
> 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