Skip to content
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

Use 3.11.6 for EmbeddedCassandra with enforced Guava 18 #52

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tlasica
Copy link
Contributor

@tlasica tlasica commented Nov 13, 2022

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).

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).
# 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
Copy link
Contributor Author

@tlasica tlasica Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@@ -171,6 +171,9 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>WDF TestSuite.txt</filereports>
<systemProperties>
Copy link
Contributor Author

@tlasica tlasica Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant