public static class FSImageFormat.Loader extends Object
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.hdfs.server.namenode.FSDirectory | getFSDirectoryInLoading() | 
| org.apache.hadoop.io.MD5Hash | getLoadedImageMd5()Return the MD5 checksum of the image that has been loaded. | 
| long | getLoadedImageTxId() | 
| org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot | getSnapshot(DataInput in) | 
| void | load(File curFile) | 
| org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes | loadINodeDirectoryAttributes(DataInput in) | 
| org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes | loadINodeFileAttributes(DataInput in)Load  INodeFileAttributes. | 
| org.apache.hadoop.hdfs.server.namenode.INode | loadINodeWithLocalName(boolean isSnapshotINode,
                      DataInput in,
                      boolean updateINodeMap) | 
| org.apache.hadoop.hdfs.server.namenode.INode | loadINodeWithLocalName(boolean isSnapshotINode,
                      DataInput in,
                      boolean updateINodeMap,
                      StartupProgress.Counter counter) | 
| void | updateBlocksMap(org.apache.hadoop.hdfs.server.namenode.INodeFile file) | 
public org.apache.hadoop.io.MD5Hash getLoadedImageMd5()
IllegalStateException - if load() has not yet been called.public long getLoadedImageTxId()
public void load(File curFile) throws IOException
IOExceptionpublic void updateBlocksMap(org.apache.hadoop.hdfs.server.namenode.INodeFile file)
public org.apache.hadoop.hdfs.server.namenode.FSDirectory getFSDirectoryInLoading()
public org.apache.hadoop.hdfs.server.namenode.INode loadINodeWithLocalName(boolean isSnapshotINode,
                                                                           DataInput in,
                                                                           boolean updateINodeMap)
                                                                    throws IOException
IOExceptionpublic org.apache.hadoop.hdfs.server.namenode.INode loadINodeWithLocalName(boolean isSnapshotINode,
                                                                           DataInput in,
                                                                           boolean updateINodeMap,
                                                                           StartupProgress.Counter counter)
                                                                    throws IOException
IOExceptionpublic org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes loadINodeFileAttributes(DataInput in) throws IOException
INodeFileAttributes.IOExceptionpublic org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes loadINodeDirectoryAttributes(DataInput in) throws IOException
IOExceptionpublic org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot getSnapshot(DataInput in) throws IOException
IOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.