Upgrade io.grpc library to 1.70.0#24475
Conversation
|
|
0417b30 to
2bd6dbd
Compare
|
New release note guidelines as of last week: PR #24354 automatically adds links to this PR to the release notes. Please remove the manual PR link in the following format from the release note entries for this PR. I have updated the Release Notes Guidelines to remove the examples of manually adding the PR link. |
2bd6dbd to
4e664f8
Compare
de32bc2 to
dfbddd3
Compare
agrawalreetika
left a comment
There was a problem hiding this comment.
Thanks for the PR. I have few questions,
- Even though existing version of
grpcis 1.68.0 then from wheregrpc-protobuf,grpc-stub,grpc-core&grpc-apiis coming as1.53.0? - Also I checked couple of dependency I see different CVE-* in there for example - https://mvnrepository.com/artifact/io.grpc/grpc-stub/1.53.0 https://mvnrepository.com/artifact/io.grpc/grpc-protobuf/1.53.0 so from where is CVE-2024-7254 coming from?
Thanks for the review. Below are my responses to the questions:
I have updated CVEs accordingly in PR as well. |
imjalpreet
left a comment
There was a problem hiding this comment.
@Dilli-Babu-Godari, since there are dependency changes in BigQuery, could you please run a round of testing to ensure there are no runtime issues? I’m asking because Presto doesn’t have any integration or product tests that connect to BigQuery and execute queries. In the past, we’ve seen dependency upgrades cause regressions in the BigQuery connector, so it’s best to validate before merging. If the tests have already been done, then please describe them in the PR description.
dfbddd3 to
0fc5d85
Compare
I am able to run a SELECT query with BigQuery, as verified in the images attached below.
I perfomed shadow testing in CPD as well in wxd.
Could you please review once again ? |
agrawalreetika
left a comment
There was a problem hiding this comment.
LTGTM, please rebase the branch on latest master.
0fc5d85 to
e3e5d68
Compare
imjalpreet
left a comment
There was a problem hiding this comment.
@Dilli-Babu-Godari Currently, we have the gRPC dependencies scattered across 3 modules(root, bigquery and pinot-toolkit). Since we use the same grpc.version across all modules, let’s move all gRPC dependencies to the DependencyManagement section of the root POM and remove <grpc.version> from presto-bigquery, presto-pinot-toolkit, and presto-pinot. This will allow us to update the version in a single place.
|
@imjalpreet, should we follow the same approach as @aaneja suggested in PR #24507 for this PR as well? |
No, what you have here is good. Log4J is a special case, that IMO should be handled differently |
2d7b38f to
6ffba3a
Compare
18cfe46 to
523ed6a
Compare
imjalpreet
left a comment
There was a problem hiding this comment.
@Dilli-Babu-Godari thank you for the changes, mostly LGTM apart from a few nits.
Can you also confirm that you verified the bigquery connector works fine after the latest changes?
2018a6a to
4d4217d
Compare
I ran a SELECT query with bigquery connector, as verified in the images attached below.
|
4d4217d to
bf56a05
Compare
|
@imjalpreet could you please review the changes whenever you get a chance ? Thanks! |
|
@jaystarshot / @yingsu00 can you please have a look whenever you get a chance? Thanks! |
Upgraded io.grpc library from 1.68.0 to 1.70.0. As part of this upgrade, the following dependencies were updated: - io.grpc:grpc-protobuf-lite: 1.68.0 → 1.70.0 - io.grpc:grpc-protobuf: 1.53.0 → 1.70.0 - io.grpc:grpc-stub: 1.53.0 → 1.70.0 - io.grpc:grpc-core: 1.53.0 → 1.70.0 - io.grpc:grpc-api: 1.53.0 → 1.70.0 Additionally, to resolve upper bound issues, the following dependencies were updated: - com.google.errorprone:error_prone_annotations: 2.28.0 to 2.36.0 - com.google.auth:google-auth-library-oauth2-http: 1.23.0 to 1.31.0 - com.google.auth:google-auth-library-credentials: 1.23.0 to 1.31.0 - com.google.auto.value:auto-value-annotations: 1.10.4 to 1.11.0 - com.google.http-client:google-http-client: 1.43.3 to 1.45.3 - com.google.http-client:google-http-client-gson: 1.43.3 to 1.45.3 - com.google.j2objc:j2objc-annotations: 2.8 to 3.0.0
bedfe72
bf56a05 to
bedfe72
Compare









Description
Upgraded io.grpc library from 1.68.0 to 1.70.0.
As part of this upgrade, the following dependencies were updated:
Additionally, to resolve upper bound issues, the following dependencies were updated:
Motivation and Context
Addresses below CVEs
CVE-2024-7254 for grpc-protobuf, grpc-protobuf-lite.
CVE-2020-8908 and
CVE-2023-2976 for grpc-core, grpc-stub, grpc-api.
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.