HBase代码学习---split

1.split条件:
1.1.计算split的阈值:flushsize*regionsCounts*regionsCount 
1.2.循环检测region下的所有stores,如果store中包含有是reference的storefile则不能split,直接返回false,如果存在大于阈值的store,返回true,说明可以split
1.3.是否在table attribute中配置了split enable,如果为false,则前面的条件都失效。
 
To be continued.
posted @ 2018-03-25 20:08  ZCraft  阅读(127)  评论(0)    收藏  举报