Class ReservedSpaceCalculator
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ReservedSpaceCalculator
- Direct Known Subclasses:
ReservedSpaceCalculator.ReservedSpaceCalculatorAbsolute,ReservedSpaceCalculator.ReservedSpaceCalculatorAggressive,ReservedSpaceCalculator.ReservedSpaceCalculatorConservative,ReservedSpaceCalculator.ReservedSpaceCalculatorPercentage
Used for calculating file system space reserved for non-HDFS data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed for creating instances of ReservedSpaceCalculator.static classBased on absolute number of reserved bytes.static classCalculates absolute and percentage based reserved space and picks the one that will yield less reserved space.static classCalculates absolute and percentage based reserved space and picks the one that will yield more reserved space.static classBased on percentage of total capacity in the storage. -
Method Summary