You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2025/08/20 19:13:58 UTC
[PR] Makes external compaction IT more tolerant of spurious compactions [accumulo]
keith-turner opened a new pull request, #5810:
URL: https://github.com/apache/accumulo/pull/5810
Its possible that spurious compactions can happen on the metadata table. These could cause some of the external compactions ITs to fail. Modified the test to look for specific items in a set instead of looking at the size of the set to fix this.
--
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: [PR] Makes external compaction IT more tolerant of spurious compactions [accumulo]
Posted by "ctubbsii (via GitHub)" <gi...@apache.org>.
ctubbsii commented on code in PR #5810:
URL: https://github.com/apache/accumulo/pull/5810#discussion_r2289299849
##########
test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_1_IT.java:
##########
@@ -425,15 +425,19 @@ private void verifyCompactionCommitAndDead(FateStore<Manager> fateStore, TableId
FateId fateId, List<ExternalCompactionId> cids) {
var ctx = getCluster().getServerContext();
+ System.out.println("cids:" + cids);
Review Comment:
Alternatively, can use slf4j logger in test code like we do in non-test code. It looks like maven-surefire-plugin uses slf4j-simple to handle slf4j logging from tests and collect them in the test output files, but print statements like these will probably just land on the regular console in the middle of the build. We do configure surefire to redirect STDOUT to a file, but it's probably better to just use logging.
This isn't really important here, though... we have tests that do both, and we aren't very consistent about it. So, either is fine today.
--
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: [PR] Makes external compaction IT more tolerant of spurious compactions [accumulo]
Posted by "keith-turner (via GitHub)" <gi...@apache.org>.
keith-turner merged PR #5810:
URL: https://github.com/apache/accumulo/pull/5810
--
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: [PR] Makes external compaction IT more tolerant of spurious compactions [accumulo]
Posted by "keith-turner (via GitHub)" <gi...@apache.org>.
keith-turner commented on code in PR #5810:
URL: https://github.com/apache/accumulo/pull/5810#discussion_r2289329781
##########
test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_1_IT.java:
##########
@@ -425,15 +425,19 @@ private void verifyCompactionCommitAndDead(FateStore<Manager> fateStore, TableId
FateId fateId, List<ExternalCompactionId> cids) {
var ctx = getCluster().getServerContext();
+ System.out.println("cids:" + cids);
Review Comment:
Also get a timestamp w/ logging and its more consistent w/ the other logged output. Switched the new print and two existing prints to use logging.
--
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