[
https://issues.apache.org/jira/browse/BEAM-13781?focusedWorklogId=718298&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-718298
]
ASF GitHub Bot logged work on BEAM-13781:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Jan/22 23:04
Start Date: 31/Jan/22 23:04
Worklog Time Spent: 10m
Work Description: lukecwik commented on pull request #16672:
URL: https://github.com/apache/beam/pull/16672#issuecomment-1026298208
Thanks for the quick turnaround.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 718298)
Time Spent: 40m (was: 0.5h)
> grpc-netty-shaded version conflict
> ----------------------------------
>
> Key: BEAM-13781
> URL: https://issues.apache.org/jira/browse/BEAM-13781
> Project: Beam
> Issue Type: Task
> Components: build-system
> Reporter: Tomo Suzuki
> Assignee: Tomo Suzuki
> Priority: P1
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Beam 2.36 release candidate had problem for Maven users.
>
> {{Could not resolve version conflict among [}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:jar:2.36.0
> -> com.google.cloud.bigdataoss:gcsio:jar:2.2.4 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.41.1{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.api:gax-grpc:jar:2.8.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.42.1{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.api:gax-grpc:jar:2.8.1 -> io.grpc:grpc-xds:jar:1.42.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}[1.42.1,1.42.1]{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud:google-cloud-bigquerystorage:jar:2.8.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud.bigtable:bigtable-client-core:jar:1.25.1 ->
> com.google.cloud:google-cloud-bigtable:jar:1.27.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.39.0{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud.bigtable:bigtable-client-core:jar:1.25.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.39.0{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud:google-cloud-firestore:jar:3.0.10 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud:google-cloud-pubsublite:jar:1.4.8 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud:google-cloud-pubsub:jar:1.115.1 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> com.google.cloud:google-cloud-spanner:jar:6.17.4 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> io.grpc:grpc-alts:jar:1.43.2 ->
> io.grpc:grpc-netty-shaded:jar:{*}[1.43.2,1.43.2]{*}}}
> {{org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.36.0 ->
> io.grpc:grpc-netty-shaded:jar:{*}1.43.2{*}}}
> {{]}}
>
> How to confirm the effect?
> {*}suztomo@suztomo{*}:{*}~/beam{*}$ ./gradlew -Ppublishing
> -PskipCheckerFramework -p sdks/java/io/google-cloud-platform
> publishMavenJavaPublicationToMavenLocal
> Before the change
> {noformat}
> ~/.m2/repository/org/apache/beam/beam-sdks-java-io-google-cloud-platform/2.37.0-SNAPSHOT/beam-sdks-java-io-google-cloud-platform-2.37.0-SNAPSHOT.pom
> {noformat}
> {noformat}
> <dependency>
> <groupId>com.google.api</groupId>
> <artifactId>gax-grpc</artifactId>
> <scope>compile</scope>
> <exclusions>
> <exclusion>
> <groupId>org.checkerframework</groupId>
> <artifactId>jdk8</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.guava</groupId>
> <artifactId>guava-jdk5</artifactId>
> </exclusion>
> <exclusion>
> <groupId>jdk.tools</groupId>
> <artifactId>jdk.tools</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.protobuf</groupId>
> <artifactId>protobuf-lite</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.hamcrest</groupId>
> <artifactId>hamcrest-all</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> {noformat}
> After the change (See the exclusion for grpc-netty-shaded)
> {noformat}
> <dependency>
> <groupId>com.google.api</groupId>
> <artifactId>gax-grpc</artifactId>
> <scope>compile</scope>
> <exclusions>
> <exclusion>
> <groupId>org.checkerframework</groupId>
> <artifactId>jdk8</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.guava</groupId>
> <artifactId>guava-jdk5</artifactId>
> </exclusion>
> <exclusion>
> <groupId>jdk.tools</groupId>
> <artifactId>jdk.tools</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.protobuf</groupId>
> <artifactId>protobuf-lite</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.hamcrest</groupId>
> <artifactId>hamcrest-all</artifactId>
> </exclusion>
> <exclusion>
> <groupId>io.grpc</groupId>
> <artifactId>grpc-netty-shaded</artifactId>
> </exclusion>
> </exclusions>
> {noformat}
>
>
> and see the POM file in .m2/repository?
>
> ./gradlew -Ppublishing -PskipCheckerFramework
> -PjavaLinkageArtifactIds=beam-runners-google-cloud-dataflow-java
> -PjavaLinkageWriteBaseline=baseline.txt :checkJavaLinkage
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)