When an HBase region server misbehaves, check in this order: is it alive and holding its ZooKeeper session, is load concentrated on a few regions, are compactions or memstore flushes backed up, and are there regions stuck in transition. Fix the cause that shows first, then change the row key or region layout that created it.
This runbook is a practical guide that builds on the Apache HBase reference guide, checked November 27, 2026, and on our overview of HBase on Cloudera. Metric and setting names vary by release, so confirm each against the documentation for your version.
Symptoms
| Symptom | Likely cause | Look at |
|---|---|---|
| --- | --- | --- |
| Slow reads or writes on some keys only | Hotspot on one region | Request counts per region |
| Writes blocked or rejected | Memstore or store file limits reached, compaction behind | Memstore size, store file counts, compaction queue |
| Region server drops out of the cluster | Long garbage-collection pause or lost ZooKeeper session | Server logs, GC logs, session timeout |
| Regions stay offline after a failure | Regions in transition | Master UI and logs |
| Replication falls behind | Source or sink overloaded | Replication lag metrics |
| One server much busier than others | Uneven region placement | Region counts and balancer state |
Splits and hotspots
A region splits when it grows past its configured maximum size. Splits are normal. Trouble starts when load is uneven: monotonically increasing keys, such as those that begin with a timestamp, send writes to the newest region, so one server does the work of many. The reference guide lists the fixes: salting, hashing, reversing the key and reverse timestamps. Each trades read convenience for write spread.
To confirm a hotspot, compare request counts across regions for a quiet and a busy hour. One region carrying most requests is the signal. Splitting that region by hand moves load briefly, but the new regions will fill the same way if the key is the cause.
New tables should be pre-split. In the shell, n split points create n plus 1 regions, and a split algorithm such as hex string suits keys that start with hex digits.
Compaction and memstore pressure
Writes go to the write-ahead log and an in-memory store, which flushes to files. Compaction merges those files. When flushes outrun compaction, the store file count climbs and reads slow. If it climbs far enough, the server blocks updates until it catches up. The guide warns against switching off major compactions, which are needed for store file clean-up, and suggests timing them for a quiet window.
Check the queue length first. If it grows through the day, the cluster is short of disk or CPU for the write load, or one table with too many column families is dragging the rest.
Recovery
When a region server dies, the guide describes the delay as the sum of the ZooKeeper session timeout, the time to split its write-ahead log, and the time to assign and replay each region. In-flight queries are retried, not lost. Two things shorten recovery: fewer regions per server, and a log split that is not backed up behind disk or network limits.
If regions remain in transition, do not guess. Use the HBCK2 tool as documented for HBase 2.x, read its report and take a snapshot before any repair. Avoid repair options from older releases.
Garbage-collection pauses
A pause longer than the ZooKeeper session timeout makes the cluster treat the server as dead, and it aborts when it wakes. Look for long pauses in the GC log just before each drop. Remedies are heap and cache sizing, fewer regions per server and moving heavy scans away from the cluster. Do not raise the timeout alone, because it lengthens every real recovery too.
Scenario: one slow table
Suppose one table is slow every morning at the same hour while others are fine. Start with region request counts for that table. If one region takes most requests, the key is the cause, and the fix is a key change or a salted prefix for new data. If requests are even but the store file count is high, compaction is behind, so look at the queue and at the number of column families. If neither shows, look at the server: a long pause or an unbalanced region count. Working in this order avoids the common error of tuning memory when the problem is a key. This is a scenario, not a client example.
What not to do
- Do not restart region servers to clear a hotspot. The load returns when the server comes back.
- Do not disable major compactions to save I/O. Files and deleted data then pile up.
- Do not raise timeouts as the first fix for a lost session. Find the pause.
- Do not run repair tools without a snapshot and the guide for your release.
Monitoring checklist
- Request counts per region, with an alert on one region above a set share of the total.
- Compaction queue length and store file counts per region.
- Memstore size and blocking events.
- GC pause time per server.
- Regions in transition, with an alert on any older than a few minutes.
- Replication lag, if you replicate.
- Time to restore a snapshot, measured twice a year. See HBase backup and recovery.
Working with us
Duczer East runs HBase health checks on Cloudera: region layout, row keys against real traffic, compaction and memory settings, and a timed restore. See Cloudera Operational Database and the health check example.



