-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-17063. Support to configure different capacity reserved for each disk of DataNode. #5793
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
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@Hexiaoqiao @tomscut Could you please review this PR? |
.../java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestReservedSpaceCalculator.java
Show resolved
Hide resolved
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
Outdated
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
@tomscut Thanks for your suggestions. New commit has been submitted. These failed tests seem not related to this PR. Could you help check why these tests are failing? |
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.
Thank you. |
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 from my side.
Try to trigger CI manually, let's wait what it will say. If no more other comments and CI run fine. Will commit it. Thanks.
💔 -1 overall
This message was automatically generated. |
Thank you. It seems that the failed test |
Committed to trunk. Thanks @qijiale76 and @tomscut ! |
… disk of DataNode. (apache#5793). Contributed by QI Jiale. Reviewed-by : Tao Li <tomscut@apache.org> Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
…disk
Description of PR
Now
dfs.datanode.du.reserved
takes effect for all directory of a datanode.This issue allows cluster administrator to configure
dfs.datanode.du.reserved./data/hdfs1/data
, which only take effect for a specific directory.How was this patch tested?
UT & tested in our cluster
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?