| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.server.protocol |
| Constructor and Description |
|---|
UnregisteredNodeException(JournalInfo info) |
| Modifier and Type | Method and Description |
|---|---|
static JournalInfo |
PBHelper.convert(JournalProtocolProtos.JournalInfoProto info) |
| Modifier and Type | Method and Description |
|---|---|
static JournalProtocolProtos.JournalInfoProto |
PBHelper.convert(JournalInfo j)
Method used for converting
JournalProtocolProtos.JournalInfoProto sent from Namenode
to Journal receivers to NamenodeRegistration. |
FenceResponse |
JournalProtocolTranslatorPB.fence(JournalInfo journalInfo,
long epoch,
String fencerInfo) |
void |
JournalProtocolTranslatorPB.journal(JournalInfo journalInfo,
long epoch,
long firstTxnId,
int numTxns,
byte[] records) |
void |
JournalProtocolTranslatorPB.startLogSegment(JournalInfo journalInfo,
long epoch,
long txid) |
| Modifier and Type | Method and Description |
|---|---|
FenceResponse |
JournalProtocol.fence(JournalInfo journalInfo,
long epoch,
String fencerInfo)
Request to fence any other journal writers.
|
void |
JournalProtocol.journal(JournalInfo journalInfo,
long epoch,
long firstTxnId,
int numTxns,
byte[] records)
Journal edit records.
|
void |
JournalProtocol.startLogSegment(JournalInfo journalInfo,
long epoch,
long txid)
Notify the BackupNode that the NameNode has rolled its edit logs
and is now writing a new log segment.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.