hbase 预分期表

create 'ssxtest', { NAME => 'info', COMPRESSION => 'snappy' },  {NUMREGIONS => 9, SPLITALGO => 'HexStringSplit'} 
是建表是预分为9个region
 create  'ssxtest1', {NAME => 'f',VERSIONS => 1, COMPRESSION => 'SNAPPY'}, {SPLITS=> ['100','200','300','400','500']}
这条语句是分为6个分区,key为0-100会在第一个分区,为100-200会在第二个分区
posted on 2015-06-25 19:39  smartcuning  阅读(267)  评论(0编辑  收藏  举报