-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-11770] bump google-cloud-pubsub to 1.110.3(google_cloud_platform_libraries_bom ) #13994
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
|
Run Java_Examples_Dataflow PreCommit |
|
Run Website PreCommit |
|
R: @iemejia |
|
I am not familiar with the consequences of dependency upgrades for Google related dependencies, so in the future for google related dependencies please choose as a reviewer like @kennknowles @chamikaramj or @suztomo Can someone of you please help review this one or forward this to someone who can. Thanks! |
|
Run Java Postcommit |
|
@masahitojp Would you try running the command below? https://cwiki.apache.org/confluence/display/BEAM/Dependency+Upgrades#app-switcher (this has outdated command line parameter. It now takes 2 git branches.) If there's no new conflict, it looks good to me (I'm not a committer though). Note that there's back-and-forth (#13765 and #13972) of GCP dependencies in the last couple of weeks. They might interfere this PR; thank you for your patience. |
|
Hi @suztomo I tried the command.
but I got a below errors 😢 In the previous jobs, it is displayed as "BUILD SUCCESSFUL ". |
|
Check the build error above.
Do you see any error above the line?
…On Wed, Feb 17, 2021 at 06:45 Masato Nakamura ***@***.***> wrote:
Hi @suztomo <https://github.com/suztomo>
I tried the command.
sh sdks/java/build-tools/beam-linkage-check.sh origin/master beam-11770
but I got a below errors 😢
Failed to generate the baseline file. Check the build error above.
Checking linkage for origin/beam-11770
Previous HEAD position was 3930d12 Merge pull request #13981: [BEAM-11124] bump joda-time to 2.10.10
HEAD is now at 45ba4c5888 [BEAM-11770] bump google-cloud-pubsub to 1.111.0
Running linkage check (validate) for beam-sdks-java-core
using baseline build/linkagecheck/baseline-beam-sdks-java-core.xml
Error: Baseline file not found
Running linkage check (validate) for beam-sdks-java-io-google-cloud-platform
using baseline build/linkagecheck/baseline-beam-sdks-java-io-google-cloud-platform.xml
Error: Baseline file not found
Running linkage check (validate) for beam-runners-google-cloud-dataflow-java
using baseline build/linkagecheck/baseline-beam-runners-google-cloud-dataflow-java.xml
Error: Baseline file not found
Running linkage check (validate) for beam-sdks-java-io-hadoop-format
using baseline build/linkagecheck/baseline-beam-sdks-java-io-hadoop-format.xml
Error: Baseline file not found
Do you know what is causing it? (openjdk version "1.8.0_282")
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13994 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAG7PFWCDCIDIFYKWD4NI3S7OT4TANCNFSM4XWLXX2Q>
.
|
|
I tried and got the same error. Digging further. https://gist.github.com/suztomo/b5a33361ad83c5e5c9054b393ac496c1 Created an issue: BEAM-11827. |
|
@masahitojp It seems that beam-linkage-check.sh has not been migrated properly when this repository moved build script from Gradle to Kotlin. (Your observation helped me to identify the problem. Thank you!) I raised a pull request to fix the problem #14006. Give me and Beam committers some moment. |
|
@masahitojp I rebased your branch and ran the tool https://gist.github.com/suztomo/0ba02d93aa0b2f5d9701c50f7d7fd81f It seems that proto-google-cloud-pubsub-v1 needs to have a newer version. Would you check it? |
|
@suztomo Thank you for your great contribution!!
maybe , In other words, I think it will affect this.....
I think it would be good to put it on hold until this work is finished. 😢 |
45ba4c5 to
04f0e2c
Compare
|
Run Java PreCommit |
…dependencies in google_cloud_platform_libraries_bom sets version. https://storage.googleapis.com/cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/16.3.0/artifact_details.html
7110874 to
df3fd10
Compare
|
The current master branch depends on 16.3.0 (#13990)
#13990 is merged, and this PR is restarted, especially since it does not seem to be causing any problems in testing. Now I've changed the purpose of this PR. what
The current master branch depends on 16.3.0 (#13990) ^ It depends on com.google.cloud:google-cloud-pubsub:1.110.3 why(background)The apache beam specifies the versions of the following packages
But this package has dependencies with the following packages but this one is specified by
The dependencies of this package are difficult to understand for people who don't know about it, so there is a possibility that the dependencies will be broken unintentionally in the future. For this reason, I thought it would be better for me to unify them into ^ It depends on com.google.cloud:google-cloud-pubsub:1.110.3 results of sh sdks/java/build-tools/beam-linkage-check.sh origin/master beam-11770Success https://gist.github.com/masahitojp/6a292e3d8ff5506383fca3a44805bafb Could you re-review this PR? |
| google_cloud_dataflow_java_proto_library_all: "com.google.cloud.dataflow:google-cloud-dataflow-java-proto-library-all:0.5.160304", | ||
| google_cloud_datastore_v1_proto_client : "com.google.cloud.datastore:datastore-v1-proto-client:1.6.3", | ||
| google_cloud_pubsub : "com.google.cloud:google-cloud-pubsub:$google_cloud_pubsub_version", | ||
| google_cloud_pubsub : "com.google.cloud:google-cloud-pubsub", // google_cloud_platform_libraries_bom sets version |
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.
This is a nice enhancement. No need to maintain google-cloud-pubsub separately. Thank you.
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.
+1, thank you
bump google-cloud-pubsub to 1.110.3, because we follwed dependencies in google_cloud_platform_libraries_bom sets version.
The current master branch depends on
16.3.0(#13990)https://storage.googleapis.com/cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/16.3.0/artifact_details.html
^ It depends on
com.google.cloud:google-cloud-pubsub:1.110.3Since this is newer than the current master(
1.108.6) , I think it's better to updateresults of
sh sdks/java/build-tools/beam-linkage-check.sh origin/master beam-11770Success
https://gist.github.com/masahitojp/6a292e3d8ff5506383fca3a44805bafb
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.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.