Schedule demo

Apache HBase Monitoring


Apache HBase - An Overview

Apache HBase is a distributed, scalable, data store. Being open-sourced and non-relational, HBase is the database for you when you need random, real-time read/write access to your Big Data. Apache HBase provides Google's Bigtable-like capabilities on top of Hadoop and HDFS.

Monitoring Apache HBase - What we do.

Applications Manager aims to help Apache HBase administrators monitor the cluster in terms of region distribution. Let’s take a look at what you need to see to monitor Apache HBase, the performance metrics to gather and how you can ensure that your HBase database is up and operating as expected with Applications Manager:

  • Track HBase cluster metrics - Monitor HBase clusters to make sure your HBase cluster is up and running and is continuously operating as expected. Track the average load, requests, and the number of dead, live and overall number of region servers.
  • Memory and JVM usage - Track memory usage details such as available memory, free and total swap space size, the committed virtual memory size, etc. Keep track of JVM metrics to correlate server performance.
  • Guage Region servers performance - Get metrics about the block cache, the cache hit and miss counts and the hit ratio. Look at compaction metrics and and the total size of storage files that have been compacted.
  • Fix performance problems faster - Get instant notifications when there are performance issues with the components of Apache HBase components. Become aware of performance bottlenecks and take quick remedial actions before your end users experience issues.  

Apache HBase - Adding a new monitor

Supported versions: HBase 2.4.x and older versions

Prerequisites for monitoring Apache HBase:

JMX MBeans are used to collect HBase metrics. To enable JMX, open HBase/conf/HBase-env.sh and uncomment/add the below JVM arguments.

export HBase_JMX_BASE="-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"

export HBase_MASTER_OPTS="$HBase_MASTER_OPTS $HBase_JMX_BASE -Dcom.sun.management.jmxremote.port=10101"

export HBase_REGIONSERVER_OPTS="$HBase_REGIONSERVER_OPTS $HBase_JMX_BASE -Dcom.sun.management.jmxremote.port=10102"

Using the REST API to add a new Apache HBase monitor:Click here

  1. To create an Apache HBase Monitor, follow the steps given below: 
    • Click on New Monitor link. Choose Apache HBase.
    • Enter Display Name of the monitor.
    • Enter the IP Address or hostname of the host in which HBase is running.
    • Enter the JMX Port in the JMX Port field. For default installations of HBase, the JMX port number is 10101 for Master and 10102 for RegionServer.
    • Enter the credential details like user name, password and JNDIPath or select credentials from a Credential Manager list. If no authentication is required, then leave the fields blank.
    • Enter the polling interval time in minutes.
    • Click Test Credentials button, if you want to test the access to Apache HBase Server.
    • Choose the Monitor Group from the combo box with which you want to associate Apache HBase Monitor (optional). You can choose multiple groups to associate your monitor.
    • Click Add Monitor(s). This discovers Apache HBase from the network and starts monitoring.

Note:
In case you are unable to add the monitor even after enabling JMX, try providing the below argument:
 -Djava.rmi.server.hostname=[YOUR_IP]

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on HBase under the Database Table. Displayed is the HBase bulk configuration view distributed into three tabs:

  • Availability tab, gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Click on the monitor name to see all the server details listed under the following tabs:

Overview

ParameterDescription
HBase MASTER OVERVIEW
Average LoadThe average number of regions served by each region server.
Dead Region Servers CountThe number of dead region servers.
Region Servers CountThe number of online region servers.
Cluster Requests / MinThe total number of requests from all region servers to a cluster per minute.
HBase JVM METRICS
Total Heap MemoryCalculates the total heap memory in MB.
Used Heap MemoryCalculates the heap memory used in MB.
Committed Heap MemoryCalculates the heap memory committed in MB.
Total Garbage CollectionsTotal JVM garbage collection.
MEMORY DETAILS
Free Physical Memory SizeThe amount of free physical memory in Megabytes.
Free Swap Space SizeTotal amount of free swap space in Megabytes.
Total Physical Memory SizeTotal amount of physical memory in Megabytes.
Total Swap Space SizeTotal amount of swap space in Megabytes.
Committed Virtual Memory SizeThe amount of virtual memory that is guaranteed to be available to the running process in Megabytes.
THREAD DETAILS
Timed Waiting Threads CountThe number of threads that are waiting for another thread to perform an action for up to a specified waiting time.
Waiting Threads CountThe number of threads waiting for another thread to perform a particular action.
Blocked Threads CountThe number of threads that are blocked waiting for a monitor lock.
Runnable Threads CountThe number of threads that are being executed in the JVM

IPC

ParameterDescription
IPC DETAILS
Number of Open ConnectionsThe number of open connections at the RPC layer.
Total Call TimeThe total call time, including both queued and processing time.
Number of Active RPC HandlersThe number of RPC handlers actively servicing requests.
Number of Calls In ReplicationThe number of currently enqueued operations received from replication.
DATA TRANSFERRED
Sent DataThe number of bytes of sent data in the call queues.
Received DataThe number of bytes of recieved data in the call queues.
EXCEPTIONS
Out of Order Scanner Exception 
Unknown Scanner Exception 
Region Too Busy ExceptionThe region server is too busy exception.

Master - RegionServer

ParameterDescription
REGIONS IN TRANSITION
Regions in TransitionCounts the number of regions in transition.
Regions in Transition over ThresholdCounts the number of regions in transition that exceed the threshold as defined by the property rit.metrics.threshold.time.
REGION SERVERS
NameThe name of the region server.
Start TimeThe HBase master start time.

Region Server - Region Details

ParameterDescription
STORE FILES
Store File CountThe number of store files in the RegionServer.
Store File SizeThe total size of the store files (data files) in the RegionServer.
MEMSTORE
Memstore SizeThe total Memstore memory size of the RegionServer.
COMPACTION DETAILS
Compactions Completed CountTotal number of compactions completed since startup by the nodes.
Num Bytes Compacted CountThe number of bytes compacted across all this entity's hregions.
Num Files Compacted CountThe number of files compacted across all this entity's hregions.
HLog COUNT
Delete CountThe total number of Delete requests in the RegionServer.
Increment CountThe total number of Increment requests in the RegionServer.
Append CountThe total number of Append requests in the RegionServer.
Mutate CountThe total number of Mutate requests in the RegionServer.
OPERATIONAL LATENCY - SCAN NEXT
Scan Next Num OperationsThe numer of Scan Next operations across all this entity's hregions.
Scan Next MinThe minimum latency for Scan operation in the RegionServer.
Scan Next MaxThe maximum latency for Scan operation in the RegionServer.
Scan Next MeanThe mean latency for Scan operation in the RegionServer.
Scan Next MedianThe median latency for Scan operation in the RegionServer.
OPERATIONAL LATENCY - GET
Get Num OperationsThe total number of Get requests per second in the RegionServer.
Get MinThe minimum latency for Get operation in the RegionServer.
Get MaxThe maximum latency for Get operation in the RegionServer.
Get MeanThe mean latency for Get operation in the RegionServer.
Get MedianThe median latency for Get operation in the RegionServer.

Region Server Details

ParameterDescription
CACHE DETAILS
Block Cache CountThe number of Store Files cached in the block cache.
Block Cache Eviction CountThe total number of blocks that have been evicted from the block cache.
Block Cache Free SizeThe number of bytes that are free in the block cache.
Block Cache Express Hit PercentThe block cache hit percent for requests where caching was turned on.
Block Cache Hit CountThe total number of block cache hits for requests, regardless of caching setting.
Block Cache Count Hit PercentThe block cache hit percent for all requests regardless of the caching setting.
Block Cache Miss CountThe total number of block cache misses for requests, regardless of caching setting.
Block Cache SizeThe number of bytes used by cached blocks.
SLOW OPERATIONS COUNT
Slow Append CountThe number of appends that took more than 1000 ms to complete.
Slow Get CountThe number of gets that took more than 1000 ms to complete.
Slow Put CountThe number of puts that took more than 1000 ms to complete.
Slow Increment CountThe number of increments that took more than 1000 ms to complete.
Slow Delete CountThe number of deletes that took more than 1000 ms to complete.

HLog

ParameterDescription
HLog FILES SPLIT TIME
HLog Split Time MeanThe average time to split the total size of a write-ahead log file.
HLog Split Time MinThe minimum time to split the total size of a write-ahead log file.
HLog Split Time MaxThe maximum time to split the write-ahead log file after a restart.
HLog Split Time Num OperationsThe time to split write-ahead log files.
HLog FILE SPLIT SIZE
HLog Split Size MeanThe average time to split the total size of an HLog file.
HLog Split Size MinThe minimum time to split the total size of an HLog file.
HLog Split Size MaxThe maximum time to split the total size of an HLog file.
HLog Split Size Num OperationsThe size of write-ahead log files that were split.

Configuration

ParameterDescription
CONFIGURATION
VM NameThe Java virtual machine implementation name.
Boot Class PathThe boot class path that is used by the bootstrap class loader to search for class files.
VM VendorThe Java virtual machine implementation vendor.
Spec VersionThe version of the JMX specification implemented by this product.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally