You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2024/11/09 13:20:39 UTC
[I] Broken test: ExternalCompaction_1_IT.testPartialCompaction timing out [accumulo]
dlmarion opened a new issue, #5052:
URL: https://github.com/apache/accumulo/issues/5052
Test is succeeding on it's own, but when you run all the tests in the class it times out. In my runs `testGetActiveCompactions` runs before `testPartialCompactions` and both tests use the same group, `QUEUE8` to execute compactions. Jstacking the Compactor process for that group, the Compactor is doing the following:
```
at java.lang.Thread.sleep(java.base@11.0.23/Native Method)
at org.apache.accumulo.test.functional.SlowIterator.next(SlowIterator.java:58)
at org.apache.accumulo.server.compaction.FileCompactor.compactLocalityGroup(FileCompactor.java:535)
at org.apache.accumulo.server.compaction.FileCompactor.call(FileCompactor.java:337)
at org.apache.accumulo.compactor.Compactor$2.run(Compactor.java:573)
at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
at java.lang.Thread.run(java.base@11.0.23/Thread.java:829)
```
`testGetActiveCompactions` is the only test in the IT class that uses ` SlowIterator`, and at the very end of the `testGetActiveCompactions` it cancels the compaction. The compaction cancellation must not be working.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Broken test: ExternalCompaction_1_IT.testPartialCompaction timing out [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion closed issue #5052: Broken test: ExternalCompaction_1_IT.testPartialCompaction timing out
URL: https://github.com/apache/accumulo/issues/5052
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Broken test: ExternalCompaction_1_IT.testPartialCompaction timing out [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion commented on issue #5052:
URL: https://github.com/apache/accumulo/issues/5052#issuecomment-2471274826
I think #5026 caused this, but this test is not failing in 2.1 or main branches for some reason. The `testGetActiveCompactions` method creates a table with a lot of files (it's calling BatchWriter.flush in a loop). When the test cancels the user compaction, a bunch of system compactions are generated to get the number of files for the tablets below the threshold. Since the following test method is using the same compactor queue, the compactor process is busy compacting the tablets from the previous test and never gets around to compacting the tablets for the current test method, and it times out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org