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
IOException
public void loadSnapshotSection(InputStream in) throws IOException
IOException
public void loadSnapshotDiffSection(InputStream in) throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.