-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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-16397. Reconfig slow disk parameters for datanode #3828
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Hi @tasanuma @ayushtkn @jojochuang @Hexiaoqiao , could you please review this PR? Thanks. |
This feature is similar to HDFS-16396. Reconfig slow peer parameters for datanode. |
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.
@tomscut Sorry for being late, and thanks for working on this. It mostly looks good to me. I left some minor comments.
...project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
Show resolved
Hide resolved
return isEnabled; | ||
} | ||
|
||
public int getSampleRangeMax() { |
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.
Please add VisibleForTesting.
.../hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ProfilingFileIoEvents.java
Show resolved
Hide resolved
@tomscut Thanks for updating the PR. +1, pending Jenkins. |
💔 -1 overall
This message was automatically generated. |
It looks like there are some errors. Let me retrigger it. |
💔 -1 overall
This message was automatically generated. |
Hi @tasanuma those failed unit tests seem related to OOM. Do I need to trigger the builder again? 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.
Thanks for updating PR. I think the result is enough. The failed tests seem not to be related. +1.
Merged. Thanks for your contribution, @tomscut! |
💔 -1 overall
This message was automatically generated. |
Thanks @tasanuma for reviewing and merging it. |
(cherry picked from commit 6b07c85)
JIRA: HDFS-16397.
In large clusters, rolling restart datanodes takes long time. We can make slow peers parameters and slow disks parameters in datanode reconfigurable to facilitate cluster operation and maintenance.