Uses of Class
org.apache.hadoop.hdfs.server.datanode.StorageLocation
Packages that use StorageLocation
Package
Description
Datanode support for running disk checks.
-
Uses of StorageLocation in org.apache.hadoop.hdfs.server.common
Methods in org.apache.hadoop.hdfs.server.common that return StorageLocationMethods in org.apache.hadoop.hdfs.server.common with parameters of type StorageLocationModifier and TypeMethodDescriptionprotected booleanStorage.containsStorageDir(StorageLocation location) Returns true if the storage directory on the given directory is already loaded.protected booleanStorage.containsStorageDir(StorageLocation location, String bpid) Returns true if the storage directory on the given location is already loaded.Constructors in org.apache.hadoop.hdfs.server.common with parameters of type StorageLocationModifierConstructorDescriptionStorageDirectory(String bpid, Storage.StorageDirType dirType, boolean isShared, StorageLocation location) ConstructorStorageDirectory(Storage.StorageDirType dirType, boolean isShared, StorageLocation location) ConstructorStorageDirectory(StorageLocation location) -
Uses of StorageLocation in org.apache.hadoop.hdfs.server.datanode
Methods in org.apache.hadoop.hdfs.server.datanode that return StorageLocationModifier and TypeMethodDescriptionstatic StorageLocationAttempt to parse a storage uri with storage class and URI.Methods in org.apache.hadoop.hdfs.server.datanode that return types with arguments of type StorageLocationModifier and TypeMethodDescriptionstatic List<StorageLocation>DataNode.getStorageLocations(org.apache.hadoop.conf.Configuration conf) Methods in org.apache.hadoop.hdfs.server.datanode with parameters of type StorageLocationModifier and TypeMethodDescriptionintStorageLocation.compareTo(StorageLocation obj) DataStorage.prepareVolume(DataNode datanode, StorageLocation location, List<NamespaceInfo> nsInfos) Prepare a storage directory.voidLocalReplica.updateWithReplica(StorageLocation replicaLocation) voidProvidedReplica.updateWithReplica(StorageLocation replicaLocation) abstract voidReplicaInfo.updateWithReplica(StorageLocation replicaLocation) Update this replica with theStorageLocationfound.voidReplicaUnderRecovery.updateWithReplica(StorageLocation replicaLocation) -
Uses of StorageLocation in org.apache.hadoop.hdfs.server.datanode.checker
Methods in org.apache.hadoop.hdfs.server.datanode.checker that return types with arguments of type StorageLocationModifier and TypeMethodDescriptionStorageLocationChecker.check(org.apache.hadoop.conf.Configuration conf, Collection<StorageLocation> dataDirs) Initiate a check on the supplied storage volumes and return a list of healthy volumes.Method parameters in org.apache.hadoop.hdfs.server.datanode.checker with type arguments of type StorageLocationModifier and TypeMethodDescriptionStorageLocationChecker.check(org.apache.hadoop.conf.Configuration conf, Collection<StorageLocation> dataDirs) Initiate a check on the supplied storage volumes and return a list of healthy volumes. -
Uses of StorageLocation in org.apache.hadoop.hdfs.server.datanode.fsdataset
Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset that return StorageLocationMethods in org.apache.hadoop.hdfs.server.datanode.fsdataset with parameters of type StorageLocationModifier and TypeMethodDescriptionvoidFsDatasetSpi.addVolume(StorageLocation location, List<NamespaceInfo> nsInfos) Add a new volume to the FsDataset.Method parameters in org.apache.hadoop.hdfs.server.datanode.fsdataset with type arguments of type StorageLocationModifier and TypeMethodDescriptionvoidFsDatasetSpi.removeVolumes(Collection<StorageLocation> volumes, boolean clearFailure) Removes a collection of volumes from FsDataset. -
Uses of StorageLocation in org.apache.hadoop.hdfs.server.datanode.fsdataset.impl
Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset.impl that return StorageLocation