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

net io

[Packet,Packet..]

Packet:chunk1,chunk2..

DFSClient#DFSOutputStream

lowest(fs,wal)

[Block,Block..]

Block:[byte,byte,…]

RandomAccessFile(‘rw’)

猜你喜欢

转载自leibnitz.iteye.com/blog/2389639