hbase write flow(byte level)

  here is a byte flow of mutation

level format usage

top(abstract,user facing)

[Put,Put…]

HTable#put(list)

encapsulation

[HLogKey, WALEdit]
WALEdit: kv1, kv2

 ||

 v

[totallen,keylen,key,val]

HLog, WALEdit

even io

[Packet,Packet..]

Packet:chunk1,chunk2..

DFSClient#DFSOutputStream

lowest(fs,wal)

[Block,Block..]

Block:[byte,byte,…]

RandomAccessFile(‘rw’)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326287443&siteId=291194637