You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Alexey Romanenko <ar...@gmail.com> on 2022/02/01 10:02:43 UTC

Re: [VOTE] Release 2.36.0, release candidate #1

Yes, it can be a workaround I guess but it’s a breaking change for users since they would need to update their Beam project dependencies.

I see some progress on this issue on this mail thread (thanks to all involved, sorry I was not online due to different timezone), so thank you for holding this RC off and creating a RC2.

—
Alexey



> On 31 Jan 2022, at 20:52, Emily Ye <em...@google.com> wrote:
> 
> @Alexey - I'm not sure why this would have changed specifically for 2.36.0 (maybe older versions were just compatible?) but adding an io.grpc.grpc-netty-shaded exclusion seems to have fixed the issue for me. We did something similar for our examples (see [1] [2]), though I'm not sure if we need to do the same for the shaded jar now.
> 
> <dependency>
>     <groupId>org.apache.beam</groupId>
>     <artifactId>beam-sdks-java-io-google-cloud-platform</artifactId>
>     <version>${beam.version}</version> 
>     <exclusions>
>         <exclusion>
>             <groupId>io.grpc</groupId>
>             <artifactId>grpc-netty-shaded</artifactId>
>         </exclusion>
>     </exclusions>
> </dependency>
> 
> [1] https://github.com/apache/beam/blob/master/sdks/java/maven-archetypes/gcp-bom-examples/src/main/resources/archetype-resources/pom.xml#L256-L271 <https://github.com/apache/beam/blob/master/sdks/java/maven-archetypes/gcp-bom-examples/src/main/resources/archetype-resources/pom.xml#L256-L271>
> [2] https://issues.apache.org/jira/browse/BEAM-3519 <https://issues.apache.org/jira/browse/BEAM-3519>
> 
> On Mon, Jan 31, 2022 at 6:31 AM Alexey Romanenko <aromanenko.dev@gmail.com <ma...@gmail.com>> wrote:
> I don’t vote for the moment but I tested it with beam-samples [1] and discovered a dependency conflict for "grpc” packages:
> 
> Error:  Failed to execute goal on project EventsToIOs: Could not resolve dependencies for project org.apache.beam.samples:EventsToIOs:jar:1.0.0-SNAPSHOT: Failed to collect dependencies for org.apache.beam.samples:EventsToIOs:jar:1.0.0-SNAPSHOT: 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] -> [Help 1]
> 
> I recall that “beam-vendor-grpc-1_43_2:0.1” was released recently. Can it be related?
> 
> —
> Alexey
> 
> [1] https://github.com/Talend/beam-samples/ <https://github.com/Talend/beam-samples/>
> 
> 
>> On 27 Jan 2022, at 03:07, Emily Ye <emilyye@google.com <ma...@google.com>> wrote:
>> 
>> From: emilyye@apache.org <ma...@apache.org>
>> To: dev@beam.apache.org <ma...@beam.apache.org>
>> Subject: [VOTE] Release 2.36.0, release candidate #1
>> 
>> Hi everyone,
>> Please review and vote on the release candidate #1 for the version 2.36.0 as follows:
>> [ ] +1, Approve the release
>> [ ] -1, Do not approve the release (please provide specific comments)
>> 
>> 
>> Reviewers are encouraged to test their own use cases with the release candidate, and vote +1 if no issues are found.
>> 
>> The complete staging area is available for your review, which includes:
>> * JIRA release notes [1],
>> * the official Apache source release to be deployed to dist.apache.org <http://dist.apache.org/> [2], which is signed with the key with fingerprint 730D5E8D4CA810C1F01D304B610B38AA1BE11656 [3],
>> * all artifacts to be deployed to the Maven Central Repository [4],
>> * source code tag "v2.36.0-RC1" [5],
>> * website pull request listing the release [6], the blog post [6], and publishing the API reference manual [7].
>> * Java artifacts were built with Gradle 7.3.2 and OpenJDK 1.8.0_181
>> * Python artifacts are deployed along with the source release to the dist.apache.org <http://dist.apache.org/> [2] and PyPI[8].
>> * Validation sheet with a tab for 2.36.0 release to help with validation [9].
>> * Docker images published to Docker Hub [10].
>> 
>> The vote will be open for at least 72 hours. It is adopted by majority approval, with at least 3 PMC affirmative votes.
>> 
>> For guidelines on how to try the release in your projects, check out our blog post at https://beam.apache.org/blog/validate-beam-release/ <https://beam.apache.org/blog/validate-beam-release/>.
>> 
>> Thanks,
>> Release Manager
>> 
>> [1] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12319527&version=12350407 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12319527&version=12350407>
>> [2] https://dist.apache.org/repos/dist/dev/beam/2.36.0/ <https://dist.apache.org/repos/dist/dev/beam/2.36.0/>
>> [3] https://dist.apache.org/repos/dist/release/beam/KEYS <https://dist.apache.org/repos/dist/release/beam/KEYS>
>> [4] https://repository.apache.org/content/repositories/orgapachebeam-1248/ <https://repository.apache.org/content/repositories/orgapachebeam-1248/>
>> [5] https://github.com/apache/beam/tree/v2.36.0-RC1 <https://github.com/apache/beam/tree/v2.36.0-RC1>
>> [6] https://github.com/apache/beam/pull/16627 <https://github.com/apache/beam/pull/16627>
>> [7] https://github.com/apache/beam-site/pull/622 <https://github.com/apache/beam-site/pull/622>
>> [8] https://pypi.org/project/apache-beam/2.36.0rc1/ <https://pypi.org/project/apache-beam/2.36.0rc1/>
>> [9] https://docs.google.com/spreadsheets/d/1qk-N5vjXvbcEk68GjbkSZTR8AGqyNUM-oLFo_ZXBpJw/edit <https://docs.google.com/spreadsheets/d/1qk-N5vjXvbcEk68GjbkSZTR8AGqyNUM-oLFo_ZXBpJw/edit>
>> [10] https://hub.docker.com/search?q=apache%2Fbeam&type=image <https://hub.docker.com/search?q=apache%2Fbeam&type=image>
>