我是靠谱客的博主 温婉哈密瓜,这篇文章主要介绍【HBase工具】查看解析HFile,现在分享给大家,希望可以做个参考。

查看HFile是HBase本身自带的一个很实用的工具

使用也很简单:

$ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile 
usage: HFile  [-a] [-b] [-e] [-f <arg>] [-k] [-m] [-p] [-r <arg>] [-v]
-a,--checkfamily    Enable family check
-b,--printblocks    Print block index meta data
-e,--printkey       Print keys
-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工具】查看解析HFile的全部内容,更多相关【HBase工具】查看解析HFile内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(127)

评论列表共有 0 条评论

立即
投稿
返回
顶部