| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
Storage.StorageDirType |
Storage.StorageDirectory.getStorageDirType() |
Get storage directory type
|
Storage.StorageDirType |
Storage.StorageDirType.getStorageDirType() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Iterable<Storage.StorageDirectory> |
Storage.dirIterable(Storage.StorageDirType dirType) |
|
java.util.Iterator<Storage.StorageDirectory> |
Storage.dirIterator(Storage.StorageDirType dirType) |
Return iterator based on Storage Directory Type
This iterator selects entries in storageDirs of type dirType and returns
them via the Iterator
|
java.util.Iterator<Storage.StorageDirectory> |
Storage.dirIterator(Storage.StorageDirType dirType,
boolean includeShared) |
|
java.util.List<java.io.File> |
Storage.getFiles(Storage.StorageDirType dirType,
java.lang.String fileName) |
|
boolean |
Storage.StorageDirType.isOfType(Storage.StorageDirType type) |
| Constructor | Description |
|---|---|
StorageDirectory(java.io.File dir,
Storage.StorageDirType dirType) |
|
StorageDirectory(java.io.File dir,
Storage.StorageDirType dirType,
boolean isShared) |
Constructor
|
StorageDirectory(java.io.File dir,
Storage.StorageDirType dirType,
boolean isShared,
org.apache.hadoop.fs.permission.FsPermission permission) |
|
StorageDirectory(java.lang.String bpid,
Storage.StorageDirType dirType,
boolean isShared,
StorageLocation location) |
Constructor
|
StorageDirectory(Storage.StorageDirType dirType,
boolean isShared,
StorageLocation location) |
Constructor
|
| Modifier and Type | Class | Description |
|---|---|---|
static class |
NNStorage.NameNodeDirType |
Implementation of StorageDirType specific to namenode storage
A Storage directory could be of type IMAGE which stores only fsimage,
or of type EDITS which stores edits or of type IMAGE_AND_EDITS which
stores both fsimage and edits.
|
| Modifier and Type | Method | Description |
|---|---|---|
Storage.StorageDirType |
NNStorage.NameNodeDirType.getStorageDirType() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
NNStorage.NameNodeDirType.isOfType(Storage.StorageDirType type) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.