| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.qjournal.client | |
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
void |
QuorumJournalManager.doUpgrade(Storage storage) |
| 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 org.apache.hadoop.io.MD5Hash |
Util.doGetUrl(java.net.URL url,
java.util.List<java.io.File> localPaths,
Storage dstStorage,
boolean getChecksum,
int timeout,
DataTransferThrottler throttler) |
Downloads the files at the specified url location into destination
storage.
|
void |
Storage.StorageDirectory.read(java.io.File from,
Storage storage) |
|
static org.apache.hadoop.io.MD5Hash |
Util.receiveFile(java.lang.String url,
java.util.List<java.io.File> localPaths,
Storage dstStorage,
boolean getChecksum,
long advertisedSize,
org.apache.hadoop.io.MD5Hash advertisedDigest,
java.lang.String fsImageName,
java.io.InputStream stream,
DataTransferThrottler throttler) |
Receives file at the url location from the input stream and puts them in
the specified destination storage location.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BlockPoolSliceStorage |
Manages storage for the set of BlockPoolSlices which share a particular
block pool id, on this DataNode.
|
class |
DataStorage |
Data storage information file.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
NNStorage |
NNStorage is responsible for management of the StorageDirectories used by
the NameNode.
|
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.io.MD5Hash |
TransferFsImage.doGetUrl(java.net.URL url,
java.util.List<java.io.File> localPaths,
Storage dstStorage,
boolean getChecksum) |
|
void |
FileJournalManager.doUpgrade(Storage storage) |
This method assumes that the fields of the
Storage object have
already been updated to the appropriate new values for the upgrade. |
void |
JournalManager.doUpgrade(Storage storage) |
Perform the actual upgrade of the JM.
|
void |
JournalSet.doUpgrade(Storage storage) |
|
static void |
NNUpgradeUtil.doUpgrade(Storage.StorageDirectory sd,
Storage storage) |
Perform the upgrade of the storage dir to the given storage info.
|
static org.apache.hadoop.io.MD5Hash |
TransferFsImage.downloadImageToStorage(java.net.URL fsName,
long imageTxId,
Storage dstStorage,
boolean needDigest,
boolean isBootstrapStandby) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.