| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
static NNStorage.NameNodeFile |
NNStorage.NameNodeFile.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NNStorage.NameNodeFile[] |
NNStorage.NameNodeFile.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
NNStorage.getFsImageName(long txid,
NNStorage.NameNodeFile nnf) |
|
void |
FSImage.saveDigestAndRenameCheckpointImage(NNStorage.NameNodeFile nnf,
long txid,
org.apache.hadoop.io.MD5Hash digest) |
This is called by the 2NN after having downloaded an image, and by
the NN after having received a new image from the 2NN.
|
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 TransferFsImage.TransferResult |
TransferFsImage.uploadImageFromStorage(java.net.URL fsName,
org.apache.hadoop.conf.Configuration conf,
NNStorage storage,
NNStorage.NameNodeFile nnf,
long txid,
Canceler canceler) |
Requests that the NameNode download an image from this node.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
NNStorage.getFsImage(long txid,
java.util.EnumSet<NNStorage.NameNodeFile> nnfs) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.