Skip to content

Commit

Permalink
Pins SnakeYAML version to 1.33 for Hadoop Format tests (#31485)
Browse files Browse the repository at this point in the history
  • Loading branch information
chamikaramj authored Jun 4, 2024
1 parent bd17b74 commit bd0ba38
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sdks/java/io/hadoop-format/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ configurations.testRuntimeClasspath {

// Force use the old version of JAMM that cassandra relies on
resolutionStrategy.force 'com.github.jbellis:jamm:0.3.0'
// Pin snakeyaml version due to cassandra-all does not support 2.x
resolutionStrategy.force 'org.yaml:snakeyaml:1.33'
}

dependencies {
Expand Down Expand Up @@ -88,12 +90,6 @@ dependencies {
testImplementation library.java.cassandra_driver_mapping
// TODO(yathu) bump to cassandra-5.x which uses newer jamm when released & beam runs test on Java11
testImplementation "org.apache.cassandra:cassandra-all:3.11.10"
// Pin snakeyaml version due to cassandra-all not support 2.x
testImplementation ("org.yaml:snakeyaml") {
version {
strictly '[1,1.34['
}
}
testImplementation library.java.hadoop_common
testImplementation library.java.hadoop_hdfs
testImplementation library.java.hadoop_mapreduce_client_core
Expand Down

0 comments on commit bd0ba38

Please sign in to comment.