Uses of Class
org.apache.hadoop.ozone.container.common.volume.HddsVolume
Packages that use HddsVolume
Package
Description
Contains protocol buffer helper classes and utilites used in impl.
This package is contains Ozone container implementation.
This package contains common ozone container interfaces.
Common container utils.
This package contains volume/ disk related classes.
This package contains classes for KeyValue container type.
This package contains utility classes for KeyValue container type.
Ozone main that calls into the container layer.
Classes to replicate container data between datanodes.
-
Uses of HddsVolume in org.apache.hadoop.ozone.container.common.helpers
Methods in org.apache.hadoop.ozone.container.common.helpers with parameters of type HddsVolumeModifier and TypeMethodDescriptionstatic voidContainerUtils.assertSpaceAvailability(long containerId, HddsVolume volume, int sizeRequested) -
Uses of HddsVolume in org.apache.hadoop.ozone.container.common.impl
Methods in org.apache.hadoop.ozone.container.common.impl that return HddsVolumeMethods in org.apache.hadoop.ozone.container.common.impl with parameters of type HddsVolumeModifier and TypeMethodDescriptionlongContainerSet.containerCount(HddsVolume volume) Get the number of containers based on the given volume.ContainerSet.getContainerIterator(HddsVolume volume) Return an iterator of containers associated with the specified volume.voidContainerData.setVolume(HddsVolume hddsVolume) Set the Volume for the Container. -
Uses of HddsVolume in org.apache.hadoop.ozone.container.common.interfaces
Methods in org.apache.hadoop.ozone.container.common.interfaces that return HddsVolumeModifier and TypeMethodDescriptionVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) Choose a volume to place a container, given a list of volumes and the max container size sought for storage.Method parameters in org.apache.hadoop.ozone.container.common.interfaces with type arguments of type HddsVolumeModifier and TypeMethodDescriptionVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) Choose a volume to place a container, given a list of volumes and the max container size sought for storage. -
Uses of HddsVolume in org.apache.hadoop.ozone.container.common.utils
Methods in org.apache.hadoop.ozone.container.common.utils that return types with arguments of type HddsVolumeModifier and TypeMethodDescriptionstatic List<HddsVolume> StorageVolumeUtil.getHddsVolumesList(List<StorageVolume> volumes) -
Uses of HddsVolume in org.apache.hadoop.ozone.container.common.volume
Methods in org.apache.hadoop.ozone.container.common.volume that return HddsVolumeModifier and TypeMethodDescriptionHddsVolume.Builder.build()CapacityVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) RoundRobinVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) Methods in org.apache.hadoop.ozone.container.common.volume with parameters of type HddsVolumeMethod parameters in org.apache.hadoop.ozone.container.common.volume with type arguments of type HddsVolumeModifier and TypeMethodDescriptionCapacityVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) RoundRobinVolumeChoosingPolicy.chooseVolume(List<HddsVolume> volumes, long maxContainerSize) voidHddsVolume.setGatherContainerUsages(Function<HddsVolume, Long> gatherContainerUsages) voidMutableVolumeSet.setGatherContainerUsages(Function<HddsVolume, Long> gatherContainerUsages) voidStorageVolume.setGatherContainerUsages(Function<HddsVolume, Long> gatherContainerUsages) Constructors in org.apache.hadoop.ozone.container.common.volume with parameters of type HddsVolume -
Uses of HddsVolume in org.apache.hadoop.ozone.container.keyvalue
Methods in org.apache.hadoop.ozone.container.keyvalue with parameters of type HddsVolumeModifier and TypeMethodDescriptionvoidKeyValueContainer.populatePathFields(String clusterId, HddsVolume containerVolume) Set all of the path realted container data fields based on the name conventions. -
Uses of HddsVolume in org.apache.hadoop.ozone.container.keyvalue.helpers
Methods in org.apache.hadoop.ozone.container.keyvalue.helpers with parameters of type HddsVolumeModifier and TypeMethodDescriptionstatic PathKeyValueContainerUtil.getTmpDirectoryPath(KeyValueContainerData keyValueContainerData, HddsVolume hddsVolume) static voidKeyValueContainerUtil.moveToDeletedContainerDir(KeyValueContainerData keyValueContainerData, HddsVolume hddsVolume) Moves container directory to a new location under "volume/hdds/cluster-id/tmp/deleted-containers" and updates metadata and chunks path.static org.apache.hadoop.ozone.common.ChunkBufferChunkUtils.readData(long len, int bufferCapacity, File file, long off, HddsVolume volume, int readMappedBufferThreshold, boolean mmapEnabled, MappedBufferManager mappedBufferManager) static org.apache.hadoop.ozone.common.ChunkBufferToByteStringChunkUtils.readData(File file, long chunkSize, long offset, long length, HddsVolume volume, DispatcherContext context) static voidChunkUtils.writeData(File file, org.apache.hadoop.ozone.common.ChunkBuffer data, long offset, long len, HddsVolume volume, boolean sync) Writes the data in chunk Info to the specified location in the chunkfile.static voidChunkUtils.writeData(FileChannel file, String filename, org.apache.hadoop.ozone.common.ChunkBuffer data, long offset, long len, HddsVolume volume) -
Uses of HddsVolume in org.apache.hadoop.ozone.container.ozoneimpl
Methods in org.apache.hadoop.ozone.container.ozoneimpl with parameters of type HddsVolumeModifier and TypeMethodDescriptionOzoneContainer.gatherContainerUsages(HddsVolume storageVolume) longContainerController.getContainerCount(HddsVolume volume) Get the number of containers based on the given volume.ContainerController.getContainers(HddsVolume volume) Return an iterator of containers which are associated with the specifiedvolume.Constructors in org.apache.hadoop.ozone.container.ozoneimpl with parameters of type HddsVolumeModifierConstructorDescriptionBackgroundContainerDataScanner(ContainerScannerConfiguration conf, ContainerController controller, HddsVolume volume) ContainerReader(MutableVolumeSet volSet, HddsVolume volume, ContainerSet cset, org.apache.hadoop.hdds.conf.ConfigurationSource conf, boolean shouldDelete) -
Uses of HddsVolume in org.apache.hadoop.ozone.container.replication
Methods in org.apache.hadoop.ozone.container.replication with parameters of type HddsVolumeModifier and TypeMethodDescriptionstatic PathContainerImporter.getUntarDirectory(HddsVolume hddsVolume) voidContainerImporter.importContainer(long containerID, Path tarFilePath, HddsVolume targetVolume, CopyContainerCompression compression)