| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.datanode.checker |
Datanode support for running disk checks.
|
| org.apache.hadoop.hdfs.server.datanode.fsdataset | |
| org.apache.hadoop.hdfs.server.datanode.fsdataset.impl |
| Modifier and Type | Method | Description |
|---|---|---|
StorageLocation |
Storage.StorageDirectory.getStorageLocation() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
Storage.containsStorageDir(StorageLocation location) |
Returns true if the storage directory on the given directory is already
loaded.
|
protected boolean |
Storage.containsStorageDir(StorageLocation location,
java.lang.String bpid) |
Returns true if the storage directory on the given location is already
loaded.
|
| Constructor | Description |
|---|---|
StorageDirectory(java.lang.String bpid,
Storage.StorageDirType dirType,
boolean isShared,
StorageLocation location) |
Constructor
|
StorageDirectory(Storage.StorageDirType dirType,
boolean isShared,
StorageLocation location) |
Constructor
|
StorageDirectory(StorageLocation location) |
| Modifier and Type | Method | Description |
|---|---|---|
static StorageLocation |
StorageLocation.parse(java.lang.String rawLocation) |
Attempt to parse a storage uri with storage class and URI.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<StorageLocation> |
DataNode.getStorageLocations(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
StorageLocation.compareTo(StorageLocation obj) |
|
DataStorage.VolumeBuilder |
DataStorage.prepareVolume(DataNode datanode,
StorageLocation location,
java.util.List<NamespaceInfo> nsInfos) |
Prepare a storage directory.
|
void |
LocalReplica.updateWithReplica(StorageLocation replicaLocation) |
|
void |
ProvidedReplica.updateWithReplica(StorageLocation replicaLocation) |
|
abstract void |
ReplicaInfo.updateWithReplica(StorageLocation replicaLocation) |
Update this replica with the
StorageLocation found. |
void |
ReplicaUnderRecovery.updateWithReplica(StorageLocation replicaLocation) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<StorageLocation> |
StorageLocationChecker.check(org.apache.hadoop.conf.Configuration conf,
java.util.Collection<StorageLocation> dataDirs) |
Initiate a check on the supplied storage volumes and return
a list of healthy volumes.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<StorageLocation> |
StorageLocationChecker.check(org.apache.hadoop.conf.Configuration conf,
java.util.Collection<StorageLocation> dataDirs) |
Initiate a check on the supplied storage volumes and return
a list of healthy volumes.
|
| Modifier and Type | Method | Description |
|---|---|---|
StorageLocation |
FsVolumeSpi.getStorageLocation() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FsDatasetSpi.addVolume(StorageLocation location,
java.util.List<NamespaceInfo> nsInfos) |
Add a new volume to the FsDataset.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FsDatasetSpi.removeVolumes(java.util.Collection<StorageLocation> volumes,
boolean clearFailure) |
Removes a collection of volumes from FsDataset.
|
| Modifier and Type | Method | Description |
|---|---|---|
StorageLocation |
FsVolumeImpl.getStorageLocation() |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.