HBase_DataBlock_Format
2015-09-29 23:48:50 5 举报
HBase DataBlock Format
作者其他创作
大纲/内容
UncompressedBytesLen(4)No ChecksumNo header
ColumnFamilyLength(1)
ROW_LENGTH_SIZE(2) + FAMILY_LENGTH_SIZE(1) +TIMESTAMP_SIZE(4) + TYPE_SIZE(1) + RowLen + FamilyLen + QualifierLen
RowLength(2)
ValueBytes(...)
OnDiskDataSize(4)No ChecksumWith header
Cell
Checksum Algorithm(1)
KeyValue.Type(1)
TagsBytes(...)
...
Row Bytes(...)
ColumnFamilyBytes(...)
TagsLength(2)
ValueLength(4)
BlockHeader
CheckSum
timestamp(8)
BlockType(8)Magic
KeyLength(4)
Bytes Per Checksum(4)
OnDiskBytesLen(4)With ChecksumNo header
PreBlockOffset(8)Same BlockType
QualifierBytes(...)
DataBlockFormat
0 条评论
回复 删除
下一页