You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/05/18 18:30:00 UTC

[jira] [Created] (HBASE-24397) [hbase-operator-tools] Tool to Report on row sizes and column counts

Michael Stack created HBASE-24397:
-------------------------------------

             Summary: [hbase-operator-tools] Tool to Report on row sizes and column counts
                 Key: HBASE-24397
                 URL: https://issues.apache.org/jira/browse/HBASE-24397
             Project: HBase
          Issue Type: Sub-task
          Components: hbase-operator-tools, tooling
            Reporter: Michael Stack


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

{code}
$   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
{code}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)