Use 3.11.6 for EmbeddedCassandra with enforced Guava 18#52
Open
Use 3.11.6 for EmbeddedCassandra with enforced Guava 18#52
Conversation
Use Cassandra 3.11. Force Guava18 With DSE switched to Guava 31 we had test failures caused by Guava 31 on the path which caused EmbeddedCassandra failures (Access, DIGIT) as Cassandra 3.0 and 3.11 are not ready for new Guava. This change: * forces Cassandra 3.11 for the EmbeddedCassandra test * forces Guava 18 for "dse" flavor (same as "oss" already did).
tlasica
commented
Nov 13, 2022
| # and the segment contains mutations for a CDC-enabled table. | ||
| # This should be placed on a separate spindle than the data directories. | ||
| # If not set, the default directory is $CASSANDRA_HOME/data/cdc_raw | ||
| cdc_raw_directory: /var/lib/cassandra/cdc_raw_dir |
Contributor
Author
There was a problem hiding this comment.
This is the important line that was needed.
Without it startup failed with ERROR saying exactly about this property being missing. I have to admit it looked strange to me, as cdc is not enabled.
Looked exactly like this:
https://stackoverflow.com/questions/39988023/exception-encountered-during-startup-cdc-raw-directory-is-missing-and-dcassand
tlasica
commented
Nov 13, 2022
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> | ||
| <junitxml>.</junitxml> | ||
| <filereports>WDF TestSuite.txt</filereports> | ||
| <systemProperties> |
Contributor
Author
There was a problem hiding this comment.
Required so that proper template file is picked up.
This is required for EmbeddedCassandra based on 3.11. New DSE libraries are coming with Guava 31 which takes precedence causing runtime problems in the EmbeddedCassandra used for the test.
814c006 to
7dd9f28
Compare
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
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.
Use Cassandra 3.11. Force Guava18
With DSE switched to Guava 31 we had test failures caused by Guava 31 on the path
which caused EmbeddedCassandra failures (Access, DIGIT) as Cassandra 3.0 and 3.11 are not ready for new Guava.
This change: