-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
misc: Add partitioned writer count metrics to hive data sink #12410
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for meta-velox canceled.
|
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
88edacd
to
70aced7
Compare
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
70aced7
to
a048901
Compare
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
a048901
to
a7be2f1
Compare
…kincubator#12410) Summary: large number of partitioned writers may cause issues like large number of open files and memory consumption. Adding this runtime metrics to disclose this critical stats for more efficient debugging related issues. Reviewed By: bikramSingh91 Differential Revision: D69936854 Pulled By: tanjialiang
This pull request was exported from Phabricator. Differential Revision: D69936854 |
@@ -806,6 +806,8 @@ uint32_t HiveDataSink::appendWriter(const HiveWriterId& id) { | |||
.stats = ioStats_.back().get(), | |||
}), | |||
options); | |||
addThreadLocalRuntimeStat( |
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.
Shall we report once for each table write operator so we can see the distribution better?
a7be2f1
to
4520862
Compare
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
large number of partitioned writers may cause issues like large number of open files and memory consumption. Adding this runtime metrics to disclose this critical stats for more efficient debugging related issues.