| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.qjournal.client | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
void |
QuorumJournalManager.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxnId,
boolean inProgressOk) |
|
void |
QuorumJournalManager.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxnId,
boolean inProgressOk,
boolean onlyDurableTxns) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
EditLogFileInputStream |
An implementation of the abstract class
EditLogInputStream, which
reads edits from a file. |
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Comparator<EditLogInputStream> |
JournalSet.EDIT_LOG_INPUT_STREAM_COMPARATOR |
| Modifier and Type | Method | Description |
|---|---|---|
static EditLogInputStream |
EditLogFileInputStream.fromByteString(org.apache.hadoop.thirdparty.protobuf.ByteString bytes,
long startTxId,
long endTxId,
boolean inProgress) |
Create an EditLogInputStream from a
ByteString, i.e. |
static EditLogInputStream |
EditLogFileInputStream.fromUrl(org.apache.hadoop.hdfs.web.URLConnectionFactory connectionFactory,
java.net.URL url,
long startTxId,
long endTxId,
boolean inProgress) |
Open an EditLogInputStream for the given URL.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<EditLogInputStream> |
FSEditLog.selectInputStreams(long fromTxId,
long toAtLeastTxId) |
|
java.util.Collection<EditLogInputStream> |
FSEditLog.selectInputStreams(long fromTxId,
long toAtLeastTxId,
MetaRecoveryContext recovery,
boolean inProgressOK) |
|
java.util.Collection<EditLogInputStream> |
FSEditLog.selectInputStreams(long fromTxId,
long toAtLeastTxId,
MetaRecoveryContext recovery,
boolean inProgressOk,
boolean onlyDurableTxns) |
Select a list of input streams.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
JournalSet.chainAndMakeRedundantStreams(java.util.Collection<EditLogInputStream> outStreams,
java.util.PriorityQueue<EditLogInputStream> allStreams,
long fromTxId) |
|
static void |
JournalSet.chainAndMakeRedundantStreams(java.util.Collection<EditLogInputStream> outStreams,
java.util.PriorityQueue<EditLogInputStream> allStreams,
long fromTxId) |
|
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) |
|
void |
FileJournalManager.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxnId,
boolean inProgressOk) |
|
void |
FileJournalManager.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxId,
boolean inProgressOk,
boolean onlyDurableTxns) |
|
void |
FSEditLog.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxId,
boolean inProgressOk,
boolean onlyDurableTxns) |
|
void |
JournalSet.selectInputStreams(java.util.Collection<EditLogInputStream> streams,
long fromTxId,
boolean inProgressOk,
boolean onlyDurableTxns) |
In this function, we get a bunch of streams from all of our JournalManager
objects.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.