-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Make Pinot Broker/Server/Minion can start by just passing a config file #5446
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
17fc399 to
51b3e96
Compare
|
Let's ensure all parameter names follow the same convention - config or configFile or configFileName all config seems to have prefix as well to indicate what config it is so maybe something like this
|
updated by adding configs alias. |
8626188 to
84ff2ff
Compare
84ff2ff to
538955c
Compare
36e584e to
056a3b0
Compare
056a3b0 to
c431653
Compare
mayankshriv
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.
Please address open comments.
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.
Adding a new method that is already deprecated :-)?
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 the only way to use the new constructor :p
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.
Should we have a single conf file for the entire cluster, so that user doesn't need to maintain three/four separate conf files?
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.
make sense, I will add one for StartServiceManager
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.
we don't have a single conf file right now as the StartServiceManager requires a role to start pinot, which is the same key across all the configs.
Current way to start all-in-one container is to give 3 conf files, e.g.
bin/pinot-admin.sh StartServiceManager -bootstrapConfigPaths conf/pinot-controller.conf conf/pinot-broker.conf conf/pinot-server.conf
fe5527c to
548eba4
Compare
Codecov Report
@@ Coverage Diff @@
## master #5446 +/- ##
============================================
- Coverage 73.36% 73.27% -0.10%
Complexity 12 12
============================================
Files 1432 1432
Lines 70854 71034 +180
Branches 10258 10291 +33
============================================
+ Hits 51984 52049 +65
- Misses 15414 15498 +84
- Partials 3456 3487 +31
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
66510fe to
6a6ddfa
Compare
bc277be to
a212a9a
Compare
a212a9a to
b867987
Compare
HelixBrokerStarterandHelixServerStarterto use justConfigurationand move all Pinot internal usage to use a new constructor.HelixBrokerStarterandHelixServerStarterAfter this change, users can run the below commands to launch airlineStats example: