批量导入数据

文本文件内容以下:shell

create 'test', 'cf'
list 'test'
put 'test', 'row1', 'cf:a', 'value1'
put 'test', 'row2', 'cf:b', 'value2'
put 'test', 'row3', 'cf:c', 'value3'
put 'test', 'row4', 'cf:d', 'value4'
scan 'test'
get 'test', 'row1'
disable 'test'
enable 'test'get


chmod+x first.txttest

first.txt在 当前路径下,表提交建好也能够di

hbase shell first.txt文件

相关文章
相关标签/搜索