Skip to content

Commit

Permalink
Pin protobuf for older hadoop tests (#33525)
Browse files Browse the repository at this point in the history
* Pin protobuf for older hadoop tests

* trigger postcommit
  • Loading branch information
damccorm authored Jan 7, 2025
1 parent ab354db commit fa086f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"comment": "Modify this file in a trivial way to cause this test suite to run",
"modification": 2
"modification": 3
}
5 changes: 5 additions & 0 deletions sdks/java/io/hadoop-file-system/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ hadoopVersions.each {kv ->
force "org.apache.hadoop:hadoop-hdfs:$kv.value:tests"
force "org.apache.hadoop:hadoop-hdfs-client:$kv.value:tests"
force library.java.slf4j_jdk14
if ("$kv.value" == "2.10.2" || "$kv.value" == "3.2.4") {
// Older Hadoop only works with older protobuf
force "com.google.protobuf:protobuf-java:3.25.5"
force "com.google.protobuf:protobuf-java-util:3.25.5"
}
}
}
}
Expand Down

0 comments on commit fa086f9

Please sign in to comment.