Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java

Merge pull request #10 from urbanairship/shade-option

Add the ability to create a shadded jar that only contains a statshtable...
latest commit a4000ac3c0
Nate Putnam authored

README.md

StatsHTable

statshtable jconsole screencap

Basics

StatsHTable is a tool for measuring the performance of HBase clusters in real time. It works by wrapping your HTable object with a StatsHTable object which measures the latency of every call to the underlying HTable.

The main idea is that you can easily see over JMX how your HBase cluster is performing with only minor changes to your app. The regionservers are not touched.

Latency and throughput are reported for each regionserver, region, and operation type (put, get, etc.). The latency data are stored and processed using the Yammer metrics library. This information can help isolate performance problems.

HBase version support

StatsHTable currently supports only HBase 0.90.x. Patches adding support for later HBase versions would be welcome.

How to use it

Create a StatsHTablePool object and use it like you would use a normal HTablePool. Alternately, use a StatsHTable instead of an HTable.

See the test cases in the source tree for examples.

Something went wrong with that request. Please try again.