Get regions stats from hbase shell

This jruby script can be used to get regions stats from our servers :

To launch this script you need to use the hbase command with script location :

  1. hbase org.jruby.Main RegionsStats.rb

The result will contain two parts :

  • count/size regions for each server
  • sorted regions by size

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.