| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.security.token.delegation | |
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.ha | |
| org.apache.hadoop.hdfs.server.namenode.snapshot | |
| org.apache.hadoop.hdfs.server.namenode.visitor |
Use the visitor pattern to visit namespace tree.
|
| Constructor | Description |
|---|---|
DelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval,
boolean storeTokenTrackingId,
FSNamesystem namesystem) |
Create a secret manager
|
DelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval,
FSNamesystem namesystem) |
| Constructor | Description |
|---|---|
CacheReplicationMonitor(FSNamesystem namesystem,
CacheManager cacheManager,
long intervalMs,
java.util.concurrent.locks.ReentrantLock lock) |
| Modifier and Type | Field | Description |
|---|---|---|
protected FSNamesystem |
NameNode.namesystem |
|
protected FSNamesystem |
NameNodeRpcServer.namesystem |
| Modifier and Type | Method | Description |
|---|---|---|
FSNamesystem |
SecondaryNameNode.getFSNamesystem() |
|
FSNamesystem |
NameNode.getNamesystem() |
Return the
FSNamesystem object. |
| Modifier and Type | Method | Description |
|---|---|---|
long |
FSImage.loadEdits(java.lang.Iterable<EditLogInputStream> editStreams,
FSNamesystem target) |
Load the specified list of edit files into the image.
|
long |
FSImage.loadEdits(java.lang.Iterable<EditLogInputStream> editStreams,
FSNamesystem target,
long maxTxnsToRead,
HdfsServerConstants.StartupOption startOpt,
MetaRecoveryContext recovery) |
|
static org.apache.hadoop.hdfs.server.namenode.FSImageFormat.LoaderDelegator |
FSImageFormat.newLoader(org.apache.hadoop.conf.Configuration conf,
FSNamesystem fsn) |
Construct a loader class to load the image.
|
protected void |
FSImage.saveFSImageInAllDirs(FSNamesystem source,
long txid) |
|
void |
FSImage.saveLegacyOIVImage(FSNamesystem source,
java.lang.String targetDir,
Canceler canceler) |
Save FSimage in the legacy format.
|
boolean |
FSImage.saveNamespace(long timeWindow,
long txGap,
FSNamesystem source) |
|
void |
FSImage.saveNamespace(FSNamesystem source) |
|
void |
FSImage.saveNamespace(FSNamesystem source,
NNStorage.NameNodeFile nnf,
Canceler canceler) |
Save the contents of the FS image to a new image file in each of the
current storage directories.
|
static int |
FsImageValidation.validate(FSNamesystem namesystem) |
| Constructor | Description |
|---|---|
ContentSummaryComputationContext(FSDirectory dir,
FSNamesystem fsn,
long limitPerRun,
long sleepMicroSec) |
Constructor
|
ContentSummaryComputationContext(FSDirectory dir,
FSNamesystem fsn,
long limitPerRun,
long sleepMicroSec,
FSPermissionChecker pc) |
|
FSEditLogLoader(FSNamesystem fsNamesys,
long lastAppliedTxId) |
| Constructor | Description |
|---|---|
EditLogTailer(FSNamesystem namesystem,
org.apache.hadoop.conf.Configuration conf) |
|
StandbyCheckpointer(org.apache.hadoop.conf.Configuration conf,
FSNamesystem ns) |
| Constructor | Description |
|---|---|
Loader(FSNamesystem fsn,
FSImageFormatProtobuf.Loader parent) |
|
Saver(FSImageFormatProtobuf.Saver parent,
FsImageProto.FileSummary.Builder headers,
SaveNamespaceContext context,
FSNamesystem fsn) |
|
SnapshotDeletionGc(FSNamesystem namesystem,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
NamespacePrintVisitor.print2Sting(FSNamesystem ns) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.