Class FSImageUtil
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FSImageUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic FsImageProto.FileSummaryloadSummary(RandomAccessFile file) static InputStreamwrapInputStreamForCompression(org.apache.hadoop.conf.Configuration conf, String codec, InputStream in)
-
Field Details
-
MAGIC_HEADER
public static final byte[] MAGIC_HEADER -
FILE_VERSION
public static final int FILE_VERSION- See Also:
-
-
Constructor Details
-
FSImageUtil
public FSImageUtil()
-
-
Method Details
-
checkFileFormat
- Throws:
IOException
-
loadSummary
- Throws:
IOException
-
wrapInputStreamForCompression
public static InputStream wrapInputStreamForCompression(org.apache.hadoop.conf.Configuration conf, String codec, InputStream in) throws IOException - Throws:
IOException
-