[ramelon@hadoop101 ~]$ hbase hfile
usage: hfile [-a] [-b] [-e] [-f | -r ] [-h] [-i] [-k] [-m] [-p]
[-s] [-v] [-w ]
-a,--checkfamily Enable family check
-b,--printblocks Print block index meta data
-e,--printkey Print keys
-f,--file File to scan. Pass full-path; e.g.
hdfs://a:9000/hbase/hbase:meta/12/34
-h,--printblockheaders Print block headers for each block.
-i,--checkMobIntegrity Print all cells whose mob files are missing
-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 Region to scan. Pass region name; e.g.
'hbase:meta,,1'
-s,--stats Print statistics
-v,--verbose Verbose output; emits file and meta data
delimiters
-w,--seekToRow Seek to this row and print all the kvs for this
row only
使用
# 此命令不是在hbase shell窗口执行,而是在linux命令窗口 hbase hfile -e -m -p -f



