CREATE TABLE MyResult(
colFamily:colName colType,
...
)WITH(
type ='hbase',
zookeeperQuorum ='ip:port[,ip:port]',
tableName ='tableName',
rowKey ='colName[,colName]',
parallelism ='1',
zookeeperParent ='/hbase'
)
hbase2.0
CREATE TABLE MyResult(
cf:info VARCHAR,
cf:name VARCHAR,
cf:channel varchar
)WITH(
type ='hbase',
zookeeperQuorum ='xx:2181',
zookeeperParent ='/hbase',
tableName ='workerinfo01',
rowKey ='channel'
);
