2013-10-14 25 views
1

每個人,Hbase One Store = Column Family?

我想知道如果任何人都可以給一個快速和骯髒的答案,如果一個Hbase表中的列家族可能有多個商店。

我讀過很多文章,聽起來像Region包含多個商店,每個商店對應一個專欄系列。

如果商店超過10GB的默認大小並被拆分爲多個商店會發生什麼?在這種情況下,一個專欄家族可能有多個商店?

我很困惑...

回答

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) 

所以,一米的家人可以有一個以上的店面,如果是拆分跨越多個地區。當單個商店文件(在商店內)超過閾值時,會發生區域分割 - 所以該區域不會分割。

希望澄清事情!

+0

由於商店包含在區域內,似乎正在拆分的區域對應於正在拆分的商店。 –