HDDS-9449. Create pipeline consider datanode storage.#5434
HDDS-9449. Create pipeline consider datanode storage.#5434z-bb wants to merge 1 commit intoapache:masterfrom
Conversation
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @z-bb for working on this.
I'm not sure this change is necessary. There is already a setting to reserve some disk space on Datanode for other usage. It can be configured as absolute space or percentage. I think setting reserved to 10% has the same effect as setting this new datanode storage rate limit to 90%.
ozone/hadoop-hdds/common/src/main/resources/ozone-default.xml
Lines 188 to 195 in 607122c
|
I agree with @adoroszlai. I think between reserving space on datanodes and using |
okey, i will close this mr. thanks review |
What changes were proposed in this pull request?
Currently, for clusters with unbalanced, the storage of the dn machine needs to be considered when creating a new pipeline. should not select a dn with full storage, because exceptions such as the machine being filled up or writing failure may occur.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9449