-
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-15814. Make some parameters configurable for DataNodeDiskMetrics #2676
Conversation
💔 -1 overall
This message was automatically generated. |
Failed junit tests: Sorry. I didn't update those four unit tests. |
@hanishakoneru |
The change looks pretty good to me. Please file an Apache jira. The failed tests look unrelated to your change. |
Thank you for your review! This is the Apache jira: https://issues.apache.org/jira/browse/HDFS-15814 |
...p-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
Show resolved
Hide resolved
Can you look at the 5 checkstyle warnings flagged above whether they were introduced by the patch? |
💔 -1 overall
This message was automatically generated. |
Hi, Arpit. Thank you for your advice. I fixed the checkstyle warnings. And the failed test (hadoop.hdfs.TestRollingUpgrade ) is unrelated to the change. |
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 @arp7 and @dineshchitlangia . |
JIRA: https://issues.apache.org/jira/browse/HDFS-15814
For ease of use, especially for small clusters, we can change some parameters(MIN_OUTLIER_DETECTION_DISKS, SLOW_DISK_LOW_THRESHOLD_MS) configurable.