How to create multiple column families in an HBase table using a wrapper

Does the process have multiple create commands in the same table? What is the syntax for this?

+7
source share
2 answers

The syntax will look like this:

create '<table name>' , '<column-family1>' , '<column-family2>' etc.. 
+9
source

The answer is to use a ruby ​​list: the following creates an "app" table with three familes m, f, c columns:

 create 'app',['m','f','c'] 
+3
source

All Articles