|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Saver
public static final class FSImageFormatPBSnapshot.Saver
Saving snapshot related information to protobuf based FSImage
| Constructor Summary | |
|---|---|
FSImageFormatPBSnapshot.Saver(FSImageFormatProtobuf.Saver parent,
FsImageProto.FileSummary.Builder headers,
org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext context,
org.apache.hadoop.hdfs.server.namenode.FSNamesystem fsn)
|
|
| Method Summary | |
|---|---|
void |
serializeINodeReferenceSection(OutputStream out)
This can only be called after serializing both INode_Dir and SnapshotDiff |
void |
serializeSnapshotDiffSection(OutputStream out)
save all the snapshot diff to fsimage |
void |
serializeSnapshotSection(OutputStream out)
save all the snapshottable directories and snapshots to fsimage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FSImageFormatPBSnapshot.Saver(FSImageFormatProtobuf.Saver parent,
FsImageProto.FileSummary.Builder headers,
org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext context,
org.apache.hadoop.hdfs.server.namenode.FSNamesystem fsn)
| Method Detail |
|---|
public void serializeSnapshotSection(OutputStream out)
throws IOException
IOException
public void serializeINodeReferenceSection(OutputStream out)
throws IOException
IOException
public void serializeSnapshotDiffSection(OutputStream out)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||