reuvenlax commented on pull request #13765:
URL: https://github.com/apache/beam/pull/13765#issuecomment-768785230


   Do you know why this would happen though? Is
   com.google.cloud:google-cloud-bigquerystorage
   bringing in the old version of gRPC? We're pulling that in through the BOM
   though, so I assumed that it would have the same gRPC version that the BOM
   depended on.
   
   On Wed, Jan 27, 2021 at 5:36 PM Tomo Suzuki <[email protected]>
   wrote:
   
   > A Maven project that depends on
   > 
"org.apache.beam:beam-runners-google-cloud-dataflow-java:jar:2.29.0-SNAPSHOT"
   > (your branch) would select the following 2 artifacts in its class path:
   >
   >    - "io.grpc:grpc-api:1.34.1"
   >    (from 
org.apache.beam:beam-runners-google-cloud-dataflow-java:jar:2.29.0-SNAPSHOT
   >    / 
org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.29.0-SNAPSHOT
   >    (compile) / com.google.cloud:google-cloud-bigquerystorage:1.8.0 
(compile) /
   >    io.grpc:grpc-api:1.34.1 (compile))
   >    - "io.grpc:grpc-core:1.35.0"
   >    (from 
org.apache.beam:beam-runners-google-cloud-dataflow-java:jar:2.29.0-SNAPSHOT
   >    / 
org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.29.0-SNAPSHOT
   >    (compile) / io.grpc:grpc-core:1.35.0 (compile) / io.grpc:grpc-api:1.35.0
   >    (compile))
   >
   > These two artifacts are not compatible with each other.
   > Possible Solutions
   >
   > A solution would be "beam-sdks-java-io-google-cloud-platform" module
   > declaring grpc-api dependency, even though the module does not touch the
   > class in grpc-api.
   >
   > Another solution is that Beam users to use the newly-created Beam GCP BOM (
   > #13737 <https://github.com/apache/beam/pull/13737>). This pins the
   > transitive dependencies to the version listed in the BOM (1.35.0 for the
   > gRPC libraries).
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/beam/pull/13765#issuecomment-768710839>, or
   > unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AFAYJVIC7QAT6JUTA6EV35LS4C5TFANCNFSM4WEZQAAA>
   > .
   >
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to