DataChecksum function ( File arg0 ) { DataInputStream loc0 = null ; try { loc0 = new DataInputStream ( new BufferedInputStream ( new FileInputStream ( arg0 ) , HdfsConstants . IO_FILE_BUFFER_SIZE ) ) ; return readDataChecksum ( loc0 , arg0 ) ; } finally { IOUtils . closeStream ( loc0 ) ; } }
read the checksum header from the meta file . concode_field_sep DataChecksum checksum concode_elem_sep short VERSION concode_elem_sep Log LOG concode_elem_sep short version concode_field_sep short getVersion concode_elem_sep void writeHeader concode_elem_sep void writeHeader concode_elem_sep int getHeaderSize concode_elem_sep DataChecksum getChecksum concode_elem_sep BlockMetadataHeader readHeader concode_elem_sep BlockMetadataHeader readHeader concode_elem_sep BlockMetadataHeader readHeader concode_elem_sep BlockMetadataHeader readHeader concode_elem_sep BlockMetadataHeader preadHeader