| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
Storage.StorageState |
Storage.StorageDirectory.analyzeStorage(HdfsServerConstants.StartupOption startOpt,
Storage storage) |
Check consistency of the storage directory.
|
Storage.StorageState |
Storage.StorageDirectory.analyzeStorage(HdfsServerConstants.StartupOption startOpt,
Storage storage,
boolean checkCurrentIsEmpty) |
Check consistency of the storage directory.
|
static Storage.StorageState |
Storage.StorageState.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Storage.StorageState[] |
Storage.StorageState.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Storage.StorageDirectory.doRecover(Storage.StorageState curState) |
Complete or recover storage state from previously failed transition.
|
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
FSImage.recoverStorageDirs(HdfsServerConstants.StartupOption startOpt,
NNStorage storage,
java.util.Map<Storage.StorageDirectory,Storage.StorageState> dataDirStates) |
For each storage directory, performs recovery of incomplete transitions
(eg.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.