Class FSImageFormatPBSnapshot.Loader
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader
- Enclosing class:
- FSImageFormatPBSnapshot
Loading snapshot related information from protobuf based FSImage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe sequence of the ref node in refList must be strictly the same with the sequence in fsimagevoidLoad the snapshot diff section from fsimage.voidLoad the snapshots section from fsimage.
-
Constructor Details
-
Loader
-
-
Method Details
-
loadINodeReferenceSection
The sequence of the ref node in refList must be strictly the same with the sequence in fsimage- Throws:
IOException
-
loadSnapshotSection
Load the snapshots section from fsimage. Also add snapshottable feature to snapshottable directories.- Throws:
IOException
-
loadSnapshotDiffSection
Load the snapshot diff section from fsimage.- Throws:
IOException
-