You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/01/07 20:20:13 UTC
(beam) branch users/damccorm/hadoop-proto created (now c2a163b5ade)
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a change to branch users/damccorm/hadoop-proto
in repository https://gitbox.apache.org/repos/asf/beam.git
at c2a163b5ade Pin protobuf for older hadoop tests
This branch includes the following new commits:
new c2a163b5ade Pin protobuf for older hadoop tests
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(beam) 01/01: Pin protobuf for older hadoop tests
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch users/damccorm/hadoop-proto
in repository https://gitbox.apache.org/repos/asf/beam.git
commit c2a163b5ade777dbaf9430a696e8b45faf2767ca
Author: Danny McCormick <da...@google.com>
AuthorDate: Tue Jan 7 20:19:54 2025 +0000
Pin protobuf for older hadoop tests
---
sdks/java/io/hadoop-file-system/build.gradle | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sdks/java/io/hadoop-file-system/build.gradle b/sdks/java/io/hadoop-file-system/build.gradle
index b4ebbfa08c5..d78d6a300ca 100644
--- a/sdks/java/io/hadoop-file-system/build.gradle
+++ b/sdks/java/io/hadoop-file-system/build.gradle
@@ -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"
+ }
}
}
}