-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Pinot driver change to support full TLS in gRPC #17525
Conversation
d3e3bc7
to
045a105
Compare
pom.xml
Outdated
@@ -1724,14 +1724,26 @@ | |||
<groupId>org.apache.pinot</groupId> |
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.
can you check if you can remove the shaded classifier on line 1721 and keep those pinot-*-jdk8
dependencies?
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.
There are some dependency failure by enforcer. Will try more and ping you later
(Some sample error:
Require upper bound dependencies error for org.checkerframework:checker-qual:2.5.2 paths to dependency are:
+-com.facebook.presto:presto-pinot-toolkit:0.273-SNAPSHOT
+-com.google.guava:guava:26.0-jre
+-org.checkerframework:checker-qual:2.5.2
and
+-com.facebook.presto:presto-pinot-toolkit:0.273-SNAPSHOT
+-org.apache.pinot:presto-pinot-driver:0.10.0
+-org.apache.pinot:pinot-common-jdk8:0.10.0
+-org.apache.calcite:calcite-core:1.29.0
+-org.checkerframework:checker-qual:3.10.0
} | ||
|
||
@Config("pinot.rest-proxy-url") | ||
public PinotConfig setRestProxyUrl(String restProxyUrl) |
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.
@nausicaasnow Can you help review whether this property is used by your side? We are trying to reduce the config values to avoid confusion, and the pinot.rest-proxy-url
value is merged to be the controllerURL (hide the rest-proxy concept)
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.
cc @dharakk @agrawaldevesh This requires pinot proxy to implement the same API for controller(fetching table configs/schemas/etc) and broker to fetch routingTable, etc.
310abbd
to
54c0abd
Compare
dbec5c7
to
f9ab484
Compare
@highker please take a look ! Thanks ! |
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.
lgtm!
High-level comments: can we squash commits into logical units? There are so many cleanup-ish commits that do not fit. I don't mind having all squashing into one. If there is better structure, it would even better. |
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 will say just squash all commits into one with a good commit title and body
f9ab484
to
1fe4958
Compare
@highker Thanks a lot for reviewing!. The commits are squashed. Please have another look |
Test plan
Locally unit tested some code;
Locally connects to a Production Pinot cluster via secure TLS feature, ran the
select * from mytable
command to fully retrieve more than 8 rows successfully.