In the HBase shell, the help file shows us that there are several valid syntaxes for creating the table:
create 'tableName', {NAME => 'colFamily', VERSIONS => 5 } create 'tableName', {NAME => 'cf1'}, {NAME => 'cf2'} create 'tableName', 'cf1', 'cf2', 'cf3' create 'tableName', 'cf1', {SPLITS => ['10','20','30','40']}
I want to create a table in which I specify both Split and some table parameters, such as COMPRESSION => 'SNAPPY' and VERSIONS, but I cannot understand the syntax or find useful documentation.
hbase
Mikeb
source share