New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BEAM-8691] bigtable-client-core dependency upgrade #10714
Conversation
@@ -61,11 +61,9 @@ public void testGcpApiSurface() throws Exception { | |||
classesInPackage("com.google.api.client.util"), | |||
classesInPackage("com.google.api.services.bigquery.model"), | |||
classesInPackage("com.google.auth"), | |||
classesInPackage("com.google.bigtable.admin.v2"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exposed API surface reduced.
478baf6
to
8f97dba
Compare
ping for tests |
Run Java PostCommit |
Run Java HadoopFormatIO Performance Test |
Run BigQueryIO Streaming Performance Test Java |
Run Dataflow ValidatesRunner |
Run Spark ValidatesRunner |
Run SQL Postcommit |
@lukecwik Thank you. |
Java precommit failed:
Java_Examples_Dataflow failed:
They both seem transient errors. |
Run Java PreCommit |
Run Java_Examples_Dataflow PreCommit |
@boyuanzz Thank you! |
Java precommit failed:
Java_Examples_Dataflow failed again with the same error.
Sent an email on this to beam dev mailing list. |
Run Java PreCommit |
Run Java_Examples_Dataflow PreCommit |
Dataflow example still fails. This time it's "No space left on device":
https://builds.apache.org/job/beam_PreCommit_Java_Examples_Dataflow_Phrase/268/consoleFull Is this specific to this PR? I'll confirm the word-count example in my local environment with my branch. @udim Thank you. |
Probably not specific to your PR. |
Run Java_Examples_Dataflow PreCommit |
R: @lukecwik @kennknowles @alexvanboxel Thank you. |
@@ -41,9 +41,14 @@ dependencies { | |||
compile library.java.google_auth_library_credentials | |||
compile library.java.google_auth_library_oauth2_http | |||
compile library.java.google_cloud_bigquery_storage | |||
compile library.java.google_cloud_bigtable_client_core | |||
compile(library.java.google_cloud_bigtable_client_core) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these exclusions needed?
The maven pom that this module will generate has grpc-core and grpclb as top level dependencies and maven resolution rules will choose those over the ones specified by bigtable-client-core or google-cloud-core-grpc so I would have expected that we wouldn't need the exclusions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These exclusions are for Maven's version range constraint. The dependency was transitively requesting io.grpc:grpc-core:jar:[1.26.0,1.26.0]
, while another dependency requests io.grpc:grpc-core:jar:[1.25.0,1.25.0]
. This version range conflict would fail the build before Maven's dependency mediation (that would choose the closest one) happens. Detail in https://issues.apache.org/jira/browse/BEAM-8691?focusedCommentId=17025456&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17025456
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't aware that the build would fail before the dependency mediation kicked in.
https://issues.apache.org/jira/projects/BEAM/issues/BEAM-8691
Linkage Check result
Checked beam-sdks-java-core, beam-sdks-java-io-google-cloud-platform, beam-runners-google-cloud-dataflow-java and beam-sdks-java-io-hadoop-format.
https://gist.github.com/suztomo/1bedcd7c63bc88310fff3854c19710d6
For beam-sdks-java-io-google-cloud-platform and beam-runners-google-cloud-dataflow-java
Using this shell script https://gist.github.com/suztomo/ec4834151a81f8e1d26aa0afb278818b
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-XXX
with 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.