-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Long segment and Host names stored in Zk can cause high heap usage and impact performance #14931
Labels
Comments
An example stack trace for large memory allocations due to long host names.
|
This problem can be broken into 2 parts:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The length of segment & host names stored in zookeeper as part of cluster and data metadata can be very long. The length is dependent on table names and host names in the cluster. A couple of examples:
In a test setup with a table of 200K segments, there are 5 million String objects and take up 247mb of memory.
A couple of stack traces of allocations:
Long names also affect performance. An example with a relatively small table name.
The text was updated successfully, but these errors were encountered: