-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-9444] Use GCP Libraries BOM for Google Cloud Dependencies #11156
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
Conversation
|
bang |
|
Run Java PostCommit |
|
Run Java HadoopFormatIO Performance Test |
|
Run BigQueryIO Streaming Performance Test Java |
|
Run Dataflow ValidatesRunner |
|
Run Spark ValidatesRunner |
|
Run SQL Postcommit |
|
@iemejia Thank you. Sonatype is unhealthy now. I'll check later today. |
|
Run Java PostCommit |
|
Run Java HadoopFormatIO Performance Test |
|
Run BigQueryIO Streaming Performance Test Java |
|
Run Dataflow ValidatesRunner |
|
Run Spark ValidatesRunner |
|
Run SQL Postcommit |
|
Run Java PostCommit |
1 similar comment
|
Run Java PostCommit |
|
Run Java HadoopFormatIO Performance Test |
|
Run BigQueryIO Streaming Performance Test Java |
|
Run Dataflow ValidatesRunner |
|
Run Spark ValidatesRunner |
|
Run SQL Postcommit |
|
Run Dataflow ValidatesRunner |
|
Run Java PreCommit |
|
It seems other post commit jobs are also failing: Checking which PR started this failure. -> Found #11216 (comment) |
chamikaramj
left a comment
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.
Thanks!
| google_auth_library_oauth2_http : "com.google.auth:google-auth-library-oauth2-http", | ||
| google_cloud_bigquery : "com.google.cloud:google-cloud-bigquery", | ||
| google_cloud_bigquery_storage : "com.google.cloud:google-cloud-bigquerystorage", | ||
| google_cloud_bigtable_client_core : "com.google.cloud.bigtable:bigtable-client-core:1.13.0", |
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.
Have we confirmed that GCS artifacts not included in this BOM do not conflict with artifacts included in the BOM ?
| force project.library.java.values() | ||
| // Filtering versionless coordinates that depend on BOM | ||
| def librariesWithVersion = project.library.java.values().findAll { it.split(':').size() > 2 } | ||
| force librariesWithVersion |
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.
Please force findings here just for the record.
suztomo
left a comment
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.
@chamikaramj PTAL. Added source code comment on force.
| force project.library.java.values() | ||
| // Filtering versionless coordinates that depend on BOM | ||
| def librariesWithVersion = project.library.java.values().findAll { it.split(':').size() > 2 } | ||
| force librariesWithVersion |
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.
Added comment with ticket ID BEAM-9542.
| google_auth_library_oauth2_http : "com.google.auth:google-auth-library-oauth2-http", | ||
| google_cloud_bigquery : "com.google.cloud:google-cloud-bigquery", | ||
| google_cloud_bigquery_storage : "com.google.cloud:google-cloud-bigquerystorage", | ||
| google_cloud_bigtable_client_core : "com.google.cloud.bigtable:bigtable-client-core:1.13.0", |
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.
Yes, Linkage Checker detects the discrepancy if there's any.
Note that our existing integration tests are not that useful here since they mostly check one GCP service at a time while users may use a combination.
This change is not intended to fix compatibility with users' libraries. It's about how Beam maintains the versions of these Google libraries with ease.
|
Gradle's updateOfflineRepository task (via https://github.com/mdietrichstein/gradle-offline-dependencies-plugin) does not work with Maven BOMs. The plugin is marked as not maintained. Closing this for now. |
| configuration: (configuration.shadowClosure ? 'shadow' : 'compile'), scope: 'compile') | ||
| generateDependenciesFromConfiguration(configuration: 'provided', scope: 'provided') | ||
|
|
||
| if (!boms.isEmpty()) { |
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.
When this Beam module uses a BOM, we need to set dependencyManagent element
As per Subject: Proposal: Beam to use GCP Libraries BOM, specifying library versions through GCP Libraries BOM.
forcefunction in Gradle.io.grpc:grpc-protobufandio.grpc:grpc-protobuf-liteare unused.Linkage Check Result
No change. https://gist.github.com/suztomo/eadcdcac2b465a771cdefe27a29bbbc8
Artifact Version Changes
Resolved artifact version changes as part of this PR:
Unchanged
Upgrade
Downgrade
Removal
Removed unused fields
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.CHANGES.mdwith noteworthy changes.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.