Zero KB region overlap

Know how to troubleshoot issues related to the 0 KB region overlapping.

Condition

Multiple regions with the same start key, some with 0 KB data.

Cause

Empty regions exist after the failed splits.

Remedy

Run the following commands to fix the issue.
hdfs dfs -mv /hbase/data/<namespace>/<table>/<zero-kb-region> /tmp/
hbase hbck -j <hbck2-jar> extraRegionsInMeta <namespace>:<table> --fix

If the issue persists, continue with the region merges as mentioned in the Overlapping regions-same start key section.