hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhixuan zhu <zhuzhixuan2...@gmail.com>
Subject Question HFile Insert Key or Update Key
Date Sun, 29 Aug 2010 03:32:10 GMT
hey guys,

I am studying the HFiles now and have a couple of questions.

The keys in the HFiles are sorted. So when a key is inserted into a data
block which is full and the key is smaller than the greatest key in this
data block and greater than the smallest key in this data block.  In this
case, does the data block need reorganize? say keys greater than the
inserted keys into next data block?.

And if a value for a key needs update, how is this achieved in HFIle?

Appreciate your time for answering my questions!


Tim Zhu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message