栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

HBASE HFILE命令用法(查看hdfs上hbase文件的内容)

HBASE HFILE命令用法(查看hdfs上hbase文件的内容)

[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 
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/601681.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号