Uses of Class
org.apache.hadoop.hdfs.server.datanode.BlockMetadataHeader
Packages that use BlockMetadataHeader
-
Uses of BlockMetadataHeader in org.apache.hadoop.hdfs.server.datanode
Methods in org.apache.hadoop.hdfs.server.datanode that return BlockMetadataHeaderModifier and TypeMethodDescriptionstatic BlockMetadataHeaderBlockMetadataHeader.preadHeader(FileChannel fc) Read the header without changing the position of the FileChannel.static BlockMetadataHeaderBlockMetadataHeader.readHeader(DataInputStream in) This reads all the fields till the beginning of checksum.static BlockMetadataHeaderBlockMetadataHeader.readHeader(FileInputStream fis) Reads header at the top of metadata file and returns the header.static BlockMetadataHeaderBlockMetadataHeader.readHeader(RandomAccessFile raf) Read the header at the beginning of the given block meta file.Methods in org.apache.hadoop.hdfs.server.datanode with parameters of type BlockMetadataHeaderModifier and TypeMethodDescriptionstatic voidBlockMetadataHeader.writeHeader(DataOutputStream out, BlockMetadataHeader header) This writes all the fields till the beginning of checksum. -
Uses of BlockMetadataHeader in org.apache.hadoop.hdfs.shortcircuit
Methods in org.apache.hadoop.hdfs.shortcircuit that return BlockMetadataHeader