1.查看hfile的内容
hbase org.apache.hadoop.hbase.io.hfile.HFile
usage: HFile [-a] [-f <arg>] [-k] [-m] [-p] [-r <arg>] [-v]
-a,--checkfamily Enable family check
-f,--file <arg> File to scan. Pass full-path; e.g.
hdfs://a:9000/hbase/.META./12/34
-k,--checkrow Enable row order check; looks for out-of-order keys
-m,--printmeta Print meta data of file
-p,--printkv Print key/value pairs
-r,--region <arg> Region to scan. Pass region name; e.g. '.META.,,1'
-v,--verbose Verbose output; emits file and meta data delimiters
例子:
hbase org.apache.hadoop.hbase.io.hfile.HFile -f /hbase/queryStat/5715b523a9f654a3914055b7afdcad5f/querycount/1003097915852919069 -m
HBase 不常用命令列表
猜你喜欢
转载自uestzengting.iteye.com/blog/1330007
今日推荐
周排行