当前位置: 代码迷 >> 综合 >> 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.

热度:56   发布时间:2024-01-20 19:55:44.0

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 




  相关解决方案