public static final class FSImageFormatPBSnapshot.Loader extends Object
Constructor and Description |
---|
FSImageFormatPBSnapshot.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 FSImageFormatPBSnapshot.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 © 2018 Apache Software Foundation. All Rights Reserved.