hbase truncate operation can not recover the number of the pre-split regions.

hbase truncate operation can not recover the number of the pre-split regions.


create a hbase table with 100 regions by SPLITS_FILE parameter

create 't1', 'cf',SPLITS_FILE=>'filepath' 

then, tuncate the table

truncate 't1'

see the table with 1 region 




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章