创建hive与hbase的关联表
create external table hive_hbase(rowkey string,name string,addr string,topic string,creator_name string) stored by'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties("hbase.columns.mapping" = ":key,cf:name ,cf:addr ,cf:topic,cf:topic,cf:creator_name ") tblproperties("hbase.table.name" = "hbase_hive");
create table rklog(rowkey string,name string,addr string,topic string,creator_name string) PARTITIONED BY (partition_time string)