-
Notifications
You must be signed in to change notification settings - Fork 47
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
base: master
Are you sure you want to change the base?
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).
# 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 |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
814c006
to
7dd9f28
Compare
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: