Details
Description
Currently, the only way to configure reserved disk space for non-HDFS data on a DataNode is a constant value via dfs.datanode.du.reserved. This can be an issue in non-heterogeneous clusters where size of DNs can differ. The proposed solution is to allow percentage based configuration (and their combination):
- ABSOLUTE
- based on absolute number of reserved space
- PERCENTAGE
- based on percentage of total capacity in the storage
- CONSERVATIVE
- calculates both of the above and takes the one that will yield more reserved space
- AGGRESSIVE
- calculates 1. 2. and takes the one that will yield less reserved space
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-13378 Add the option to set the du reserve by percent on datanode
- Resolved
- relates to
-
HDFS-14010 Pass correct DF usage to ReservedSpaceCalculator builder
- Resolved