猿问

如何查看hbase hfile文件

如何查看hbase hfile文件


阿波罗的战车
浏览 990回答 1
1回答

蓝山帝景

[baoniu@search0001 ~]$ hbase hfile2 usage: HFile [-a] [-b] [-e] [-f <arg>] [-k] [-m] [-p] [-r <arg>] [-s] [-v]3 [-w <arg>]4 -a,--checkfamily Enable family check5 -b,--printblocks Print block index meta data6 -e,--printkey&nbsp;Print&nbsp;keys7 -f,--file <arg> File to scan. Pass full-path; e.g.8 hdfs://a:9000/hbase/hbase:meta/12/349 -k,--checkrow Enable row order check; looks for out-of-order10&nbsp;keys11 -m,--printmeta Print meta data of file12 -p,--printkv Print key/value pairs13 -r,--region <arg> Region to scan. Pass region name; e.g.14 'hbase:meta,,1'15 -s,--stats Print statistics16 -v,--verbose Verbose output; emits file and meta data17 delimiters18 -w,--seekToRow <arg> Seek to this row and print all the kvs for this
随时随地看视频慕课网APP
我要回答