-
Notifications
You must be signed in to change notification settings - Fork 3.8k
trunk: CASSANDRA-17273 #1415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
trunk: CASSANDRA-17273 #1415
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92db17a to
f0a8768
Compare
f0a8768 to
1585ef9
Compare
…t divergence during compaction
1585ef9 to
8d96cd8
Compare
michaeljmarshall
pushed a commit
to michaeljmarshall/cassandra
that referenced
this pull request
Nov 15, 2024
…nd rolling logs (apache#1415) ### What is the issue I noticed Python DTests failing with: failed on teardown with "Failed: Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-05 04:26:00,950 Slf4jExceptionHandler.java:50 - Cannot get access to vectorizedMismatch. The following command line args are required: --illegal-access=permit --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED. exception: java.lang.reflect.InaccessibleObjectException: Unable to make public static int jdk.internal.util.ArraysSupport.vectorizedMismatch(java.lang.Object,long,java.lang.Object,long,int,int) accessible: module java.base does not "exports jdk.internal.util" to unnamed module @73a1e9a9']" This happens even with JDK11. https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-build-nightly/1460/testReport/junit/dtest-offheap-bti.fqltool_test/TestFQLTool/tests_stage_2___dtests___dtest_offheap_bti___dtest_offheap_bti_40___test_unclean_enable/ It seems when we updated chronicle in 4fee863 we missed to add the recommended by Chronicle exports for JDK11+: https://chronicle.software/chronicle-support-java-17/ We updated chronicle in [CASSANDRA-18049](https://issues.apache.org/jira/browse/CASSANDRA-18049) We may want to consider what was done there more than the versions bump, in additional to export/open internals ### What does this PR fix and why was it fixed The patch ports partially CASSANDRA-18049 Not pinning particular versions for the transitive dependencies as that will mean upgrading dependencies which we do not want to do in a patch release The option we use for deciding how often to roll Audit log segments is now deprecated and the tools emit a warning about that. Make a note about the switch of the default roll of Audit segments options to its new name so it does not emit warnings and update the docs so people know they can still use the old options but they need to change them soon. Old ones not recommended for new deployments. Also, we should change it with main-5.0 If the reviewer approved we leave the old options, we need to add a patch for cassandra-dtest to skip below warning while checking the test logs for warnings/errors: `WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-08 14:55:32,932 Slf4jExceptionHandler.java:50 - You've configured your queue to use a deprecated RollCycle (net.openhft.chronicle.queue.RollCycles.HOURLY) please consider switching to net.openhft.chronicle.queue.rollcycles.LegacyRollCycles.HOURLY, as the RollCycle constant you've nominated will be removed in a future release!` ### Checklist before you submit for review - [ ] Make sure there is a PR in the CNDB project updating the Converged Cassandra version - [ ] Use `NoSpamLogger` for log lines that may appear frequently in the logs - [ x] Verify test results on Butler - [x ] Test coverage for new/modified code is > 80% - [x ] Proper code formatting - [x ] Proper title for each commit staring with the project-issue number, like CNDB-1234 - [x ] Each commit has a meaningful description - [x ] Each commit is not very long and contains related changes - [ ] Renames, moves and reformatting are in distinct commits --------- Co-authored-by: Brandon Williams <brandonwilliams@apache.org>
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Feb 20, 2025
…nd rolling logs (apache#1415) I noticed Python DTests failing with: failed on teardown with "Failed: Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-05 04:26:00,950 Slf4jExceptionHandler.java:50 - Cannot get access to vectorizedMismatch. The following command line args are required: --illegal-access=permit --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED. exception: java.lang.reflect.InaccessibleObjectException: Unable to make public static int jdk.internal.util.ArraysSupport.vectorizedMismatch(java.lang.Object,long,java.lang.Object,long,int,int) accessible: module java.base does not "exports jdk.internal.util" to unnamed module @73a1e9a9']" This happens even with JDK11. https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-build-nightly/1460/testReport/junit/dtest-offheap-bti.fqltool_test/TestFQLTool/tests_stage_2___dtests___dtest_offheap_bti___dtest_offheap_bti_40___test_unclean_enable/ It seems when we updated chronicle in 4fee863 we missed to add the recommended by Chronicle exports for JDK11+: https://chronicle.software/chronicle-support-java-17/ We updated chronicle in [CASSANDRA-18049](https://issues.apache.org/jira/browse/CASSANDRA-18049) We may want to consider what was done there more than the versions bump, in additional to export/open internals The patch ports partially CASSANDRA-18049 Not pinning particular versions for the transitive dependencies as that will mean upgrading dependencies which we do not want to do in a patch release The option we use for deciding how often to roll Audit log segments is now deprecated and the tools emit a warning about that. Make a note about the switch of the default roll of Audit segments options to its new name so it does not emit warnings and update the docs so people know they can still use the old options but they need to change them soon. Old ones not recommended for new deployments. Also, we should change it with main-5.0 If the reviewer approved we leave the old options, we need to add a patch for cassandra-dtest to skip below warning while checking the test logs for warnings/errors: `WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-08 14:55:32,932 Slf4jExceptionHandler.java:50 - You've configured your queue to use a deprecated RollCycle (net.openhft.chronicle.queue.RollCycles.HOURLY) please consider switching to net.openhft.chronicle.queue.rollcycles.LegacyRollCycles.HOURLY, as the RollCycle constant you've nominated will be removed in a future release!` - [ ] Make sure there is a PR in the CNDB project updating the Converged Cassandra version - [ ] Use `NoSpamLogger` for log lines that may appear frequently in the logs - [ x] Verify test results on Butler - [x ] Test coverage for new/modified code is > 80% - [x ] Proper code formatting - [x ] Proper title for each commit staring with the project-issue number, like CNDB-1234 - [x ] Each commit has a meaningful description - [x ] Each commit is not very long and contains related changes - [ ] Renames, moves and reformatting are in distinct commits --------- Co-authored-by: Brandon Williams <brandonwilliams@apache.org>
michaelsembwever
pushed a commit
to thelastpickle/cassandra
that referenced
this pull request
Jan 7, 2026
…nd rolling logs (apache#1415) I noticed Python DTests failing with: failed on teardown with "Failed: Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-05 04:26:00,950 Slf4jExceptionHandler.java:50 - Cannot get access to vectorizedMismatch. The following command line args are required: --illegal-access=permit --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED. exception: java.lang.reflect.InaccessibleObjectException: Unable to make public static int jdk.internal.util.ArraysSupport.vectorizedMismatch(java.lang.Object,long,java.lang.Object,long,int,int) accessible: module java.base does not "exports jdk.internal.util" to unnamed module @73a1e9a9']" This happens even with JDK11. https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-build-nightly/1460/testReport/junit/dtest-offheap-bti.fqltool_test/TestFQLTool/tests_stage_2___dtests___dtest_offheap_bti___dtest_offheap_bti_40___test_unclean_enable/ It seems when we updated chronicle in 4fee863 we missed to add the recommended by Chronicle exports for JDK11+: https://chronicle.software/chronicle-support-java-17/ We updated chronicle in [CASSANDRA-18049](https://issues.apache.org/jira/browse/CASSANDRA-18049) We may want to consider what was done there more than the versions bump, in additional to export/open internals The patch ports partially CASSANDRA-18049 Not pinning particular versions for the transitive dependencies as that will mean upgrading dependencies which we do not want to do in a patch release The option we use for deciding how often to roll Audit log segments is now deprecated and the tools emit a warning about that. Make a note about the switch of the default roll of Audit segments options to its new name so it does not emit warnings and update the docs so people know they can still use the old options but they need to change them soon. Old ones not recommended for new deployments. Also, we should change it with main-5.0 If the reviewer approved we leave the old options, we need to add a patch for cassandra-dtest to skip below warning while checking the test logs for warnings/errors: `WARN [RMI TCP Connection(2)-127.0.0.1] 2024-11-08 14:55:32,932 Slf4jExceptionHandler.java:50 - You've configured your queue to use a deprecated RollCycle (net.openhft.chronicle.queue.RollCycles.HOURLY) please consider switching to net.openhft.chronicle.queue.rollcycles.LegacyRollCycles.HOURLY, as the RollCycle constant you've nominated will be removed in a future release!` - [ ] Make sure there is a PR in the CNDB project updating the Converged Cassandra version - [ ] Use `NoSpamLogger` for log lines that may appear frequently in the logs - [ x] Verify test results on Butler - [x ] Test coverage for new/modified code is > 80% - [x ] Proper code formatting - [x ] Proper title for each commit staring with the project-issue number, like CNDB-1234 - [x ] Each commit has a meaningful description - [x ] Each commit is not very long and contains related changes - [ ] Renames, moves and reformatting are in distinct commits --------- Co-authored-by: Brandon Williams <brandonwilliams@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.