Class FSImageFormatPBINode.Saver
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Saver
- Enclosing class:
- FSImageFormatPBINode
-
Method Summary
Modifier and TypeMethodDescriptionlongNumber of non-fatal errors detected while writing the INodeSection and INodeDirectorySection sections.
-
Method Details
-
buildINodeFile
public static FsImageProto.INodeSection.INodeFile.Builder buildINodeFile(INodeFileAttributes file, FSImageFormatProtobuf.SaverContext state) -
buildINodeDirectory
public static FsImageProto.INodeSection.INodeDirectory.Builder buildINodeDirectory(INodeDirectoryAttributes dir, FSImageFormatProtobuf.SaverContext state) -
getNumImageErrors
public long getNumImageErrors()Number of non-fatal errors detected while writing the INodeSection and INodeDirectorySection sections.- Returns:
- the number of non-fatal errors detected.
-