查看100行数据
scan 'table', {LIMIT=>100}
查看某个key下的字段
get 'table', 'rowkey'
get 'table', 'rowkey', {COLUMNS=>'f:name', LIMIT=>10}
模糊查询
scan 'table', FILTER=>"RowFilter(=,'substring:123')" # 查询包含123
scan 'table', FILTER=>"RowFilter(<=,'binary:012345')"
查询hbase表有多少行
count 'table name',INTERVAL => 5000000,CACHE => 5000000
ref
https://blog.csdn.net/qq_27078095/article/details/56482010