zoukankan      html  css  js  c++  java
  • HBase工具:如何查看HBase的HFile

    root@root:~/Desktop/sourceCodes/hbase-2.1.1/bin# ./hbase
    Usage: hbase [<options>] <command> [<args>]
    Options:
      --config DIR         Configuration direction to use. Default: ./conf
      --hosts HOSTS        Override the list in 'regionservers' file
      --auth-as-server     Authenticate to ZooKeeper using servers configuration
      --internal-classpath Skip attempting to use client facing jars (WARNING: unstable results between versions)
    
    Commands:
    Some commands take arguments. Pass no args or -h for usage.
      shell           Run the HBase shell
      hbck            Run the HBase 'fsck' tool. Defaults read-only hbck1.
                      Pass '-j /path/to/HBCK2.jar' to run hbase-2.x HBCK2.
      snapshot        Tool for managing snapshots
      wal             Write-ahead-log analyzer
      hfile           Store file analyzer
      zkcli           Run the ZooKeeper shell
      master          Run an HBase HMaster node
      regionserver    Run an HBase HRegionServer node
      zookeeper       Run a ZooKeeper server
      rest            Run an HBase REST server
      thrift          Run the HBase Thrift server
      thrift2         Run the HBase Thrift2 server
      clean           Run the HBase clean up script
      classpath       Dump hbase CLASSPATH
      mapredcp        Dump CLASSPATH entries required by mapreduce
      pe              Run PerformanceEvaluation
      ltt             Run LoadTestTool
      canary          Run the Canary tool
      version         Print the version
      regionsplitter  Run RegionSplitter tool
      rowcounter      Run RowCounter tool
      cellcounter     Run CellCounter tool
      pre-upgrade     Run Pre-Upgrade validator tool
      CLASSNAME       Run the class named CLASSNAME

    命令使用案例:

    hbase hfile -v -p -m -f hdfs://ns/hbase/data/default/tab1/5cd31c374a3b30bb859175495cbd6905/cf/9df89dc0db7f401e943c5ded6d49d956
  • 相关阅读:
    课后作业-阅读任务-阅读提问-3
    《团对-团队编程项目作业名称-开发环境搭建过程》
    《结对贪吃蛇游戏——测试过程》
    《Android手机便签-项目进度》
    结对编程项目作业2-开发环境搭建过程
    结对编程项目作业2-结对编项目设计文档
    《GIT的使用方法》
    课后作业-阅读任务-阅读提问-1
    个人编程项目
    《自我介绍》
  • 原文地址:https://www.cnblogs.com/felixzh/p/10273854.html
Copyright © 2011-2022 走看看