Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

urbanairship/statshtable

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages