Uh oh!
There was an error while loading. Please reload this page.
[BEAM-9444] Use GCP Libraries BOM for Google Cloud Dependencies - #11156
[BEAM-9444] Use GCP Libraries BOM for Google Cloud Dependencies#11156suztomo wants to merge 18 commits into
Conversation
iemejia
commented
Mar 18, 2020
bang |
iemejia
commented
Mar 18, 2020
Run Java PostCommit |
iemejia
commented
Mar 18, 2020
Run Java HadoopFormatIO Performance Test |
iemejia
commented
Mar 18, 2020
Run BigQueryIO Streaming Performance Test Java |
iemejia
commented
Mar 18, 2020
Run Dataflow ValidatesRunner |
iemejia
commented
Mar 18, 2020
Run Spark ValidatesRunner |
iemejia
commented
Mar 18, 2020
Run SQL Postcommit |
suztomo
commented
Mar 18, 2020
@iemejia Thank you. Sonatype is unhealthy now. I'll check later today. |
aaltay
commented
Mar 24, 2020
Run Java PostCommit |
aaltay
commented
Mar 24, 2020
Run Java HadoopFormatIO Performance Test |
aaltay
commented
Mar 24, 2020
Run BigQueryIO Streaming Performance Test Java |
aaltay
commented
Mar 24, 2020
Run Dataflow ValidatesRunner |
aaltay
commented
Mar 24, 2020
Run Spark ValidatesRunner |
aaltay
commented
Mar 24, 2020
Run SQL Postcommit |
aaltay
commented
Mar 24, 2020
Run Java PostCommit |
1 similar comment
aaltay
commented
Mar 27, 2020
Run Java PostCommit |
aaltay
commented
Mar 27, 2020
Run Java HadoopFormatIO Performance Test |
aaltay
commented
Mar 27, 2020
Run BigQueryIO Streaming Performance Test Java |
aaltay
commented
Mar 27, 2020
Run Dataflow ValidatesRunner |
aaltay
commented
Mar 27, 2020
Run Spark ValidatesRunner |
aaltay
commented
Mar 27, 2020
Run SQL Postcommit |
kamilwu
commented
Mar 30, 2020
Run Dataflow ValidatesRunner |
kamilwu
commented
Mar 30, 2020
Run Java PreCommit |
It seems other post commit jobs are also failing: Checking which PR started this failure. -> Found #11216 (comment) |
| 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.
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.
Please force findings here just for the record.
suztomo
left a comment
There was a problem hiding this comment.
@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 |
| 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.
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.
suztomo
commented
Apr 27, 2020
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.
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.