Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17756 We should have better introspection of HFiles
  3. HBASE-24397

[hbase-operator-tools] Tool to Report on row sizes and column counts

    XMLWordPrintableJSON

Details

    Description

      Tool to run against a table that will report on row sizes and column counts.

      $   HBASE_CLASSPATH_PREFIX=./target/hbase-table-reporter-1.1.0-SNAPSHOT.jar ../../hbase.apache.git/bin/hbase org.apache.hbase.reporter.TableReporter
      Usage: reporter <OPTIONS> TABLENAME
      OPTIONS:
       -h,--help        Output this help message
       -l,--limit       Scan row limit (per thread): default none
       -f,--fraction    Fraction of table Regions to read; between 0 and 1: default 1.0 (all)
       -r,--region      Scan this Region only; pass encoded name; 'fraction' is ignored.
       -t,--threads     Concurrent thread count (thread per Region); default 1
       -Dproperty=value Properties such as the zookeeper to connect to; e.g:
                        -Dhbase.zookeeper.quorum=ZK0.remote.cluster.example.org
      

      Primitive. Uses sketches to generate percentiles and histograms. Can be expanded upon.

      Attachments

        1. 5tables.png
          50 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: