1

每个人,

我想知道如果 Hbase 表中的一个列族可以有多个商店,是否有人可以给出一个快速而肮脏的答案。

我读过很多文章,听起来 Region 包含多个商店,每个商店对应一个列族。

如果存储超过 10GB 默认大小并被拆分为多个存储,会发生什么情况?在这种情况下,一个列族可以有多个商店?

我很困惑...

4

1 回答 1

0

HBase 书(http://hbase.apache.org/book/regions.arch.html)比我解释得更好:

Table       (HBase table)
Region       (Regions for the table)
     Store          (Store per ColumnFamily for each Region for the table)
          MemStore           (MemStore for each Store for each Region for the table)
          StoreFile          (StoreFiles for each Store for each Region for the table)
                Block             (Blocks within a StoreFile within a Store for each Region for the table)

因此,一个列族可以有多个存储,如果它被拆分到多个区域。当单个存储文件(存储内)超过阈值时,会发生区域拆分——因此存储不会拆分,但区域会拆分。

希望能澄清事情!

于 2013-10-15T13:52:58.507 回答