-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16314. Support to make dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled reconfigurable #3664
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
Conversation
…de-slow-nodes.enabled reconfigurable
|
@tomscut Thank you for your reply. sorry, the previous PR exception was closed and created a new PR. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi @tomscut Is there anything else that needs to be improved in the current code? |
...ct/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
tomscut
left a comment
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.
| public abstract void setExcludeSlowNodesEnabled(boolean enable); | ||
|
|
||
| public abstract boolean getExcludeSlowNodesEnabled(); |
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 interface is marked as @Private, so adding abstract methods is okay.
|
Merged. Thank you @haiyang1987 for your contribution and thank you @ferhui @tomscut for your review. |
…de-slow-nodes.enabled reconfigurable (#3664) Reviewed-by: Fei Hui <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit c0f405a)
…de-slow-nodes.enabled reconfigurable (#3664) Reviewed-by: Fei Hui <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit c0f405a)
…de-slow-nodes.enabled reconfigurable (apache#3664) Reviewed-by: Fei Hui <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]>
Description of PR
Consider that make dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled reconfigurable and rapid rollback in case this feature HDFS-16076 unexpected things happen in production environment
Details: HDFS-16314