Class DataStorage.VolumeBuilder

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.DataStorage.VolumeBuilder
Enclosing class:
DataStorage

@Private @Unstable public static class DataStorage.VolumeBuilder extends Object
VolumeBuilder holds the metadata (e.g., the storage directories) of the prepared volume returned from DataStorage.prepareVolume(DataNode, StorageLocation, List). Calling build() to add the metadata to DataStorage so that this prepared volume can be active.