-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Allow to configure multi-datadirs as instance configs and a Quickstart example about them #9705
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
Allow to configure multi-datadirs as instance configs and a Quickstart example about them #9705
Conversation
74f46ba to
120e673
Compare
Codecov Report
@@ Coverage Diff @@
## master #9705 +/- ##
============================================
- Coverage 70.46% 69.02% -1.44%
+ Complexity 5535 5064 -471
============================================
Files 1982 1982
Lines 106449 106496 +47
Branches 16131 16140 +9
============================================
- Hits 75006 73512 -1494
- Misses 26213 27833 +1620
+ Partials 5230 5151 -79
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
120e673 to
b3c3e4d
Compare
pinot-tools/src/main/java/org/apache/pinot/tools/MultiDirQuickstart.java
Outdated
Show resolved
Hide resolved
pinot-tools/src/main/java/org/apache/pinot/tools/MultiDirQuickstart.java
Outdated
Show resolved
Hide resolved
...-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json
Outdated
Show resolved
Hide resolved
be2896d to
3bd6b06
Compare
npawar
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.
thanks for the config change. lgtm
3bd6b06 to
2ec5616
Compare
This PR is part of the work to support multi-datadir for Pinot server as tracked by #8843.
This one makes it simpler and more consistent to configure the feature. And added a QuickStart example about how this works with the typical configs.
Release Note
One can config tier and its datadir as instance configs to be consistent across tables, e.g.
The
datadirfrom instance configs can be overwritten by tierConfigs in TableConfig, e.g.But the instance configs are more recommended to keep datadirs consistent across tables within a cluster.