You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "ahmedabu98 (via GitHub)" <gi...@apache.org> on 2025/09/08 22:33:31 UTC

[PR] Pin avro 1.12.0 in expansion service [beam]

ahmedabu98 opened a new pull request, #36092:
URL: https://github.com/apache/beam/pull/36092

   Fixes #32603
   
   Avro was upgraded in iceberg module in #35981, but IO expansion service pins it to 1.14.0, causing a problem for Python/YAML pipelines


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "ahmedabu98 (via GitHub)" <gi...@apache.org>.
ahmedabu98 commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3270204354

   It doesn't fix #34993 just yet. We'd need to update avro in BeamModulePlugin to have all of Beam use avro 1.12.0:
   https://github.com/apache/beam/blob/a2f9fb8e99241313bf3a0957a6aac9c24a8217b3/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L677-L678


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3268249077

   Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment `assign set of reviewers`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "ahmedabu98 (via GitHub)" <gi...@apache.org>.
ahmedabu98 commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3268247051

   R: @liferoad
   R: @Amar3tto 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "ahmedabu98 (via GitHub)" <gi...@apache.org>.
ahmedabu98 merged PR #36092:
URL: https://github.com/apache/beam/pull/36092


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "ahmedabu98 (via GitHub)" <gi...@apache.org>.
ahmedabu98 commented on code in PR #36092:
URL: https://github.com/apache/beam/pull/36092#discussion_r2331566241


##########
sdks/java/io/expansion-service/build.gradle:
##########
@@ -35,9 +35,8 @@ applyJavaNature(
 configurations.runtimeClasspath {
   // Pin kafka-clients version due to <3.4.0 missing auth callback classes.
   resolutionStrategy.force 'org.apache.kafka:kafka-clients:3.9.0'
-  // Pin avro to 1.11.4 due to https://github.com/apache/beam/issues/34968
-  // cannot upgrade this to the latest version due to https://github.com/apache/beam/issues/34993
-  resolutionStrategy.force 'org.apache.avro:avro:1.11.4'
+  // iceberg needs avro:1.12.0
+  resolutionStrategy.force 'org.apache.avro:avro:1.12.0'

Review Comment:
   We already worked through this when upgrading Iceberg (which also drops Java 8). Note we specify `requireJavaVersion: JavaVersion.VERSION_11` at the top



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3268304254

   LGTM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "liferoad (via GitHub)" <gi...@apache.org>.
liferoad commented on code in PR #36092:
URL: https://github.com/apache/beam/pull/36092#discussion_r2331562880


##########
sdks/java/io/expansion-service/build.gradle:
##########
@@ -35,9 +35,8 @@ applyJavaNature(
 configurations.runtimeClasspath {
   // Pin kafka-clients version due to <3.4.0 missing auth callback classes.
   resolutionStrategy.force 'org.apache.kafka:kafka-clients:3.9.0'
-  // Pin avro to 1.11.4 due to https://github.com/apache/beam/issues/34968
-  // cannot upgrade this to the latest version due to https://github.com/apache/beam/issues/34993
-  resolutionStrategy.force 'org.apache.avro:avro:1.11.4'
+  // iceberg needs avro:1.12.0
+  resolutionStrategy.force 'org.apache.avro:avro:1.12.0'

Review Comment:
   Apache Avro 1.12.0 does not support Java 8. Will this cause the issue for our expansion servce?



##########
sdks/java/io/expansion-service/build.gradle:
##########
@@ -35,9 +35,8 @@ applyJavaNature(
 configurations.runtimeClasspath {
   // Pin kafka-clients version due to <3.4.0 missing auth callback classes.
   resolutionStrategy.force 'org.apache.kafka:kafka-clients:3.9.0'
-  // Pin avro to 1.11.4 due to https://github.com/apache/beam/issues/34968
-  // cannot upgrade this to the latest version due to https://github.com/apache/beam/issues/34993
-  resolutionStrategy.force 'org.apache.avro:avro:1.11.4'
+  // iceberg needs avro:1.12.0
+  resolutionStrategy.force 'org.apache.avro:avro:1.12.0'

Review Comment:
   Apache Avro 1.12.0 does not support Java 8. Will this cause the issue for our expansion service?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "liferoad (via GitHub)" <gi...@apache.org>.
liferoad commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3268323701

   fixes https://github.com/apache/beam/issues/34993


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj commented on code in PR #36092:
URL: https://github.com/apache/beam/pull/36092#discussion_r2331569906


##########
sdks/java/io/expansion-service/build.gradle:
##########
@@ -35,9 +35,8 @@ applyJavaNature(
 configurations.runtimeClasspath {
   // Pin kafka-clients version due to <3.4.0 missing auth callback classes.
   resolutionStrategy.force 'org.apache.kafka:kafka-clients:3.9.0'
-  // Pin avro to 1.11.4 due to https://github.com/apache/beam/issues/34968
-  // cannot upgrade this to the latest version due to https://github.com/apache/beam/issues/34993
-  resolutionStrategy.force 'org.apache.avro:avro:1.11.4'
+  // iceberg needs avro:1.12.0
+  resolutionStrategy.force 'org.apache.avro:avro:1.12.0'

Review Comment:
   Expansion service container already uses Java 11. So this should not be an issue.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin avro 1.12.0 in expansion service [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj commented on PR #36092:
URL: https://github.com/apache/beam/pull/36092#issuecomment-3268317590

   Note that this also results in Iceberg failing for Dataflow Java.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org