hbase
2018-11-24 本文已影响0人
0point618
docker操作:http://blog.51cto.com/lookingdream/2061041
打开 docker中的hbase:sudo -u docker docker exec -it hbase1.3 /bin/bash
进入hbase shell命令行:hbase shell
建表:
create_namespace 'aispeech'
create 'aispeech:speech_data_flow', 'data_flow'
get_splits 'aispeech:speech_data_flow'
hbase org.apache.hadoop.hbase.util.RegionSplitter aispeech:speech_data_flow HexStringSplit -c 10 -f data_flow
alter 'aispeech:speech_data_flow', NAME => 'data_flow', COMPRESSION => 'snappy'