public static final class FSImageFormatPBSnapshot.Loader extends Object
| Constructor and Description |
|---|
Loader(org.apache.hadoop.hdfs.server.namenode.FSNamesystem fsn,
FSImageFormatProtobuf.Loader parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadINodeReferenceSection(InputStream in)
The sequence of the ref node in refList must be strictly the same with
the sequence in fsimage
|
void |
loadSnapshotDiffSection(InputStream in)
Load the snapshot diff section from fsimage.
|
void |
loadSnapshotSection(InputStream in)
Load the snapshots section from fsimage.
|
public Loader(org.apache.hadoop.hdfs.server.namenode.FSNamesystem fsn,
FSImageFormatProtobuf.Loader parent)
public void loadINodeReferenceSection(InputStream in) throws IOException
IOExceptionpublic void loadSnapshotSection(InputStream in) throws IOException
IOExceptionpublic void loadSnapshotDiffSection(InputStream in) throws IOException
IOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.