Uses of Class
org.apache.hadoop.ozone.container.common.volume.StorageVolume
Packages that use StorageVolume
Package
Description
Common container utils.
This package contains volume/ disk related classes.
Contains upgrade related classes.
-
Uses of StorageVolume in org.apache.hadoop.ozone.container.common.utils
Methods in org.apache.hadoop.ozone.container.common.utils with parameters of type StorageVolumeModifier and TypeMethodDescriptionstatic booleanStorageVolumeUtil.checkVolume(StorageVolume volume, String scmId, String clusterId, org.apache.hadoop.hdds.conf.ConfigurationSource conf, org.slf4j.Logger logger, MutableVolumeSet dbVolumeSet) Check Volume is in consistent state or not.static voidStorageVolumeUtil.onFailure(StorageVolume volume) Method parameters in org.apache.hadoop.ozone.container.common.utils with type arguments of type StorageVolumeModifier and TypeMethodDescriptionStorageVolumeUtil.getDbVolumesList(List<StorageVolume> volumes) static List<HddsVolume> StorageVolumeUtil.getHddsVolumesList(List<StorageVolume> volumes) -
Uses of StorageVolume in org.apache.hadoop.ozone.container.common.volume
Subclasses of StorageVolume in org.apache.hadoop.ozone.container.common.volumeModifier and TypeClassDescriptionclassDbVolume represents a volume in datanode holding db instances for multiple HddsVolumes.classHddsVolume represents volume in a datanode.classMetadataVolume represents a volume in datanode for metadata(ratis).Methods in org.apache.hadoop.ozone.container.common.volume that return StorageVolumeModifier and TypeMethodDescriptionabstract StorageVolumeStorageVolume.Builder.build()HddsVolumeFactory.createFailedVolume(String locationString) HddsVolumeFactory.createVolume(String locationString, org.apache.hadoop.fs.StorageType storageType) Methods in org.apache.hadoop.ozone.container.common.volume that return types with arguments of type StorageVolumeModifier and TypeMethodDescriptionSet<? extends StorageVolume> StorageVolumeChecker.checkAllVolumes(Collection<? extends StorageVolume> volumes) Run checks against all volumes.MutableVolumeSet.getFailedVolumesList()MutableVolumeSet.getVolumeMap()ImmutableVolumeSet.getVolumesList()MutableVolumeSet.getVolumesList()VolumeSet.getVolumesList()Map<org.apache.hadoop.fs.StorageType, List<StorageVolume>> MutableVolumeSet.getVolumeStateMap()Methods in org.apache.hadoop.ozone.container.common.volume with parameters of type StorageVolumeModifier and TypeMethodDescriptionbooleanStorageVolumeChecker.checkVolume(StorageVolume volume, StorageVolumeChecker.Callback callback) Check a single volume asynchronously, returning aListenableFuturethat can be used to retrieve the final result.voidMutableVolumeSet.checkVolumeAsync(StorageVolume volume) Method parameters in org.apache.hadoop.ozone.container.common.volume with type arguments of type StorageVolumeModifier and TypeMethodDescriptionvoidStorageVolumeChecker.Callback.call(Set<StorageVolume> healthyVolumes, Set<StorageVolume> failedVolumes) Set<? extends StorageVolume> StorageVolumeChecker.checkAllVolumes(Collection<? extends StorageVolume> volumes) Run checks against all volumes.voidMutableVolumeSet.setVolumeMap(Map<String, StorageVolume> map) Constructors in org.apache.hadoop.ozone.container.common.volume with parameters of type StorageVolumeConstructor parameters in org.apache.hadoop.ozone.container.common.volume with type arguments of type StorageVolume -
Uses of StorageVolume in org.apache.hadoop.ozone.container.upgrade
Methods in org.apache.hadoop.ozone.container.upgrade with parameters of type StorageVolumeModifier and TypeMethodDescriptionstatic StringVersionedDatanodeFeatures.ScmHA.chooseContainerPathID(StorageVolume volume, String clusterID) Choose whether to use cluster ID or SCM ID based on the format of the volume and SCM HA finalization status.static booleanScmHAFinalizeUpgradeActionDatanode.upgradeVolume(StorageVolume volume, String clusterID) Upgrade the specified volume to be compatible with SCM HA layout feature.static booleanVersionedDatanodeFeatures.ScmHA.upgradeVolumeIfNeeded(StorageVolume volume, String clusterID)