| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.StartupOption |
HdfsServerConstants.StartupOption.getEnum(java.lang.String value) |
|
static HdfsServerConstants.StartupOption |
HdfsServerConstants.StartupOption.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.StartupOption[] |
HdfsServerConstants.StartupOption.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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.
|
boolean |
HdfsServerConstants.RollingUpgradeStartupOption.matches(HdfsServerConstants.StartupOption option) |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.StartupOption |
NameNode.getStartupOption(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FSImage.initEditLog(HdfsServerConstants.StartupOption startOpt) |
|
long |
FSImage.loadEdits(java.lang.Iterable<EditLogInputStream> editStreams,
FSNamesystem target,
long maxTxnsToRead,
HdfsServerConstants.StartupOption startOpt,
MetaRecoveryContext recovery) |
|
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.