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
HDFS-17064. Document the usage of the new Balancer "sortTopNodes" and "hotBlockTimeInterval" parameter #5794
Conversation
…otBlockTimeInterval parameter
💔 -1 overall
This message was automatically generated. |
+ "\tSort datanodes based on the utilization so " | ||
+ "that highly utilized datanodes get scheduled first."; | ||
+ "that highly utilized datanodes get scheduled first." |
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.
Code style: align at the beginning of a line.
@@ -304,6 +306,7 @@ Usage: | |||
| `-idleiterations` \<iterations\> | Maximum number of idle iterations before exit. This overwrites the default idleiterations(5). | | |||
| `-runDuringUpgrade` | Whether to run the balancer during an ongoing HDFS upgrade. This is usually not desired since it will not affect used space on over-utilized machines. | | |||
| `-asService` | Run Balancer as a long running service. | | |||
| `-sortTopNodes` | Whether to run the balancer during will sort nodes b capacity usage percentage to prioritize top used nodes. | |
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 sentence doesn't seem to make sense.
Thanks @zhangshuyan0 help me review it. Follow your suggestions and update PR, please help review it again, Thanks. |
💔 -1 overall
This message was automatically generated. |
@@ -304,6 +306,7 @@ Usage: | |||
| `-idleiterations` \<iterations\> | Maximum number of idle iterations before exit. This overwrites the default idleiterations(5). | | |||
| `-runDuringUpgrade` | Whether to run the balancer during an ongoing HDFS upgrade. This is usually not desired since it will not affect used space on over-utilized machines. | | |||
| `-asService` | Run Balancer as a long running service. | | |||
| `-sortTopNodes` | Whether to run the balancer during will sort datanodes based on the utilization so that highly utilized datanodes get scheduled first. | |
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.
What does this sentence mean? It makes me confused.
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.
Hi @zhangshuyan0 sir, it means setting the option "-sortTopNodes", each iteration will choose the high used capacity datanode in the overUtilized list as the source datanode of the moving block.
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 it be "Sort datanodes based on the utilization so that highly utilized datanodes are scheduled first." ?
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 it be "Sort datanodes based on the utilization so that highly utilized datanodes are scheduled first." ?
noted, this description is easier to understand.
I will update it later, Thanks.
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.
Update PR.
@zhangshuyan0 please help review it again, Thanks.
💔 -1 overall
This message was automatically generated. |
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.
LGTM.
Hi,sir @Hexiaoqiao @ayushtkn Could you please help me review this minor changes when you have free time ? Thanks a lot~ |
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.
LGTM. +1.
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.
LGTM
… "hotBlockTimeInterval" parameter (apache#5794). Contributed by Haiyang Hu. Reviewed-by: Shuyan Zhang <zqingchai@gmail.com> Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org> Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
Description of PR
https://issues.apache.org/jira/browse/HDFS-17064
Document the usage of the new Balancer "sortTopNodes" and "hotBlockTimeInterval" parameter