I have visited so many links but couldn't find any solution on this that "Is it possible to create multiple tables in hbase?"if yes then how?

有帮助吗?

解决方案

Basically you want to have multiple tables in same region.

This is not possible, because regions are part of a table and not viceversa (tables part of a region). Each table is split into regions and each region is served by one region server. When created, unless specified, each table has only one region.

The Regions Architecture chapter in the HBase Book points out the architecture of a region.

其他提示

Right now it's not possible to create multiple tables in one go. HBaseAdmin implementation currently doesn't support this.

As an alternate you could create a list of tables and loop through it, calling HBaseAdmin.createTable(HTableDescriptor desc) in every iteration.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top