[
https://issues.apache.org/jira/browse/HBASE-28924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891068#comment-17891068
]
Andrew Kyle Purtell commented on HBASE-28924:
---------------------------------------------
[~prathyu6] I was able to merge the master branch PR and then apply it also to
branch-2 and branch-3. I am unable to apply it to either branch-2.5 or
branch-2.6, because it seems like there is more going on with the test in those
branches. Testing locally with each of Java 11, Java 17, and Java 8,
TestPrefetch will fail in branch-2.5 and branch-2.6 with:
{noformat}
[ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 89.26
s <<< FAILURE! - in org.apache.hadoop.hbase.io.hfile.TestPrefetch
[ERROR] org.apache.hadoop.hbase.io.hfile.TestPrefetch.testPrefetchWithDelay
Time elapsed: 25.042 s <<< FAILURE!
java.lang.AssertionError: Prefetch delay has not been expired yet
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at
org.apache.hadoop.hbase.io.hfile.TestPrefetch.testPrefetchWithDelay(TestPrefetch.java:338)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:840) {noformat}
Is this something you would be interested in taking a look at? Once we have a
good test execution of TestPrefetch also including your changes from this issue
(and additional fixes, maybe), we can apply it to the releasing branches too.
> TestPrefetch#testPrefetchWithDelay fails intermittently
> -------------------------------------------------------
>
> Key: HBASE-28924
> URL: https://issues.apache.org/jira/browse/HBASE-28924
> Project: HBase
> Issue Type: Improvement
> Reporter: Prathyusha
> Assignee: Prathyusha
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2
>
> Attachments: Screenshot 2024-10-17 at 10.39.09 PM.png
>
>
> TestPrefetch#testPrefetchWithDelay fails intermittently with
> {_}"{_}_AssertionError: Prefetch should start post configured delay"_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)