Uh oh!
There was an error while loading. Please reload this page.
[BEAM-8676] sdks/java: gax and grpc upgrades - #10554
Conversation
| compile library.java.grpc_all | ||
| compile library.java.grpc_auth | ||
| compile library.java.grpc_core | ||
| compile library.java.grpc_context |
There was a problem hiding this comment.
Unless this declares grpc-context dependency, grpc-context’s old version sneaks in the class path. Here is an error from linkage checker before adding this grpc-context dependency:
(grpc-context-1.16.1.jar) io.grpc.Deadline's method getSystemTicker() is not found;
referenced by 1 class file
io.grpc.internal.AbstractServerImplBuilder (grpc-core-1.25.0.jar)
https://gist.github.com/suztomo/9af333b78b157d6a829d59ac5353e01d#file-gistfile1-txt-L856
| def google_cloud_core_version = "1.61.0" | ||
| def google_cloud_spanner_version = "1.6.0" | ||
| def grpc_version = "1.17.1" | ||
| def grpc_version = "1.25.0" |
There was a problem hiding this comment.
The latest version of gRPC is 1.26.0, but setting 1.25.0 as gax-grpc:1.52.0 depends on 1.25.0.
| compile project(":sdks:java:extensions:protobuf") | ||
| compile library.java.avro | ||
| compile library.java.bigdataoss_util | ||
| compile library.java.gax |
There was a problem hiding this comment.
As BigQueryServicesImpl uses gax's com.google.api.gax.core.FixedCredentialsProvider (undeclared-but-used dependency), declaring it explicitly.
suztomo
commented
Jan 10, 2020
apilloud
commented
Jan 10, 2020
Run Java PostCommit |
apilloud
commented
Jan 10, 2020
Run Java HadoopFormatIO Performance Test |
apilloud
commented
Jan 10, 2020
Run BigQueryIO Streaming Performance Test Java |
apilloud
commented
Jan 10, 2020
Run Dataflow ValidatesRunner |
apilloud
commented
Jan 10, 2020
Run Spark ValidatesRunner |
apilloud
commented
Jan 10, 2020
Run SQL Postcommit |
It seems Jenkins went down while running the 4 checks. java.io.IOException: Backing channel 'JNLP4-connect connection from 255.248.197.104.bc.googleusercontent.com/104.197.248.255:33122' is disconnected. |
yifanzou
commented
Jan 13, 2020
Run Java PostCommit |
yifanzou
commented
Jan 13, 2020
Run Java HadoopFormatIO Performance Test |
yifanzou
commented
Jan 13, 2020
Run BigQueryIO Streaming Performance Test Java |
yifanzou
commented
Jan 13, 2020
Run Dataflow ValidatesRunner |
yifanzou
commented
Jan 13, 2020
Run Spark ValidatesRunner |
yifanzou
commented
Jan 13, 2020
Run SQL Postcommit |
suztomo
commented
Jan 13, 2020
Apache Spark Runner ValidatesRunner Tests failed: Google Cloud Dataflow Runner ValidatesRunner Tests failed: I will check whether they’re caused by this dependency upgrades or not. |
suztomo
commented
Jan 13, 2020
@yifanzou thanks |
The two postcommit checks Apache Spark Runner ValidatesRunner Tests and Google Cloud Dataflow Runner ValidatesRunner Tests fail because of BEAM-9083PR9677 breaks ValidatesRunnerTest of open source runners since 3 days ago. |
iemejia
commented
Jan 13, 2020
Run Java PreCommit |
suztomo
commented
Jan 13, 2020
Now all checks, except the ones in BEAM-9083 (no ETA), passed. |
suztomo
commented
Jan 13, 2020
@iemejia Thank you. |
markflyhigh
commented
Jan 13, 2020
Run Java PreCommit |
lukecwik
commented
Jan 13, 2020
Run Spark ValidatesRunner |
lukecwik
commented
Jan 13, 2020
#10564 may have addressed the spark issues |
lukecwik
commented
Jan 13, 2020
The dataflow VR test failure of |
lukecwik
commented
Jan 13, 2020
Run Java PreCommit |
lukecwik
commented
Jan 13, 2020
Run Dataflow ValidatesRunner |
suztomo
commented
Jan 14, 2020
The last two builds seem to have triggered but did not start. |
tvalentyn
commented
Jan 14, 2020
Run Dataflow ValidatesRunner |
tvalentyn
commented
Jan 14, 2020
Run Java PreCommit |
suztomo
commented
Jan 14, 2020
@tvalentyn Now it has "Details" button. Thank you. |
lukecwik
commented
Jan 14, 2020
Run Java PreCommit |
"Google Cloud Dataflow Runner ValidatesRunner Tests" got stuck at 13:07. With test failures: https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_PR/189/console Both tests succeed in my local environment. I see it's transient error: This seems a transient error. |
Java PreCommit failed: https://builds.apache.org/job/beam_PreCommit_Java_Phrase/lastCompletedBuild/ This seems a transient error. |
suztomo
commented
Jan 14, 2020
Run Java PreCommit |
1 similar comment
lukecwik
commented
Jan 14, 2020
Run Java PreCommit |
lukecwik
commented
Jan 14, 2020
Run Dataflow ValidatesRunner |
1 similar comment
suztomo
commented
Jan 15, 2020
Run Dataflow ValidatesRunner |
suztomo
commented
Jan 15, 2020
|
aaltay
commented
Jan 15, 2020
Run Dataflow ValidatesRunner |
suztomo
commented
Jan 15, 2020
Thank you, Ahmet. |
suztomo
commented
Jan 15, 2020
21 successful checks! |
kennknowles
commented
Jan 16, 2020
We've seen this change break some of our own internal use of Beam. It may be that it is not a breaking change except if a user has things pinned in particular ways. But it is common for minor version bumps in libs like these to actually be breaking changes. Be on the lookout for Beam users for whom this is a breaking change; we have not yet determined the fix. |
Specifically, the internal usage was pinning tcnative which was causing: updating internal usage to |
suztomo
commented
Jan 16, 2020
@kennknowles@lukecwik Thank you for updates. Glad to hear you resolved the problem. |
https://issues.apache.org/jira/browse/BEAM-8676. This PR is a revival of #10438.
Gax and gRPC work together. Upgrading their dependencies to higher versions.
Which modules use gax and grpc?
find . -name 'build.gradle' |xargs grep -ir library.java.gax(and grpc) gaveLinkage Check
beam-sdks-java-io-google-cloud-platform
This PR removes the following linkage errors:
beam-sdks-java-extensions-sql-zetasql
Linkage Checker does not work for beam-sdks-java-extensions-sql-zetasql. (Bug: GoogleCloudPlatform/cloud-opensource-java#1087)
beam-sdks-java-extensions-sql-datacatalog
Linkage Checker does not work for beam-sdks-java-extensions-sql-datacatalog https://gist.github.com/suztomo/9c7723a2d126459bebfa2f52b5573757 (the same reason as above)
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.