Documentation
ODP 3.3.6.3-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
extraRegionsInMeta (Hbck2)
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Reports regions that exist in hbase:meta but do not have corresponding region directories on the filesystem. The hbase:meta table must be online for this command to run.
Command Syntax
Bash
hbase hbck -j <path-to-hbck2-jar> extraRegionsInMeta [<NAMESPACE | NAMESPACE:TABLENAME>... | -i <INPUT_FILE>...]Options
| Option | Description |
|---|---|
-f, --fix | Removes all extra regions found in hbase:meta. |
-i, --inputFiles <file1> [<file2>...] | Specifies one or more files containing namespaces or table names, one per line. |
Description
For each specified namespace or table, this command compares the regions recorded in hbase:meta with the region directories present on the filesystem.
A region is reported as extra when:
- It exists in hbase:meta, and
- No matching region directory exists on the filesystem.
If you specify the --fix option, all such extra regions will be removed from hbase:meta.
Important Considerations
Before running
--fix, verify whether the reported extra regions overlap with existing valid regions.- If an overlap exists, using
extraRegionsInMeta --fixis typically the safest and most effective option.
- If an overlap exists, using
If the extra regions do not overlap, the
assignscommand may be a simpler alternative because it can recreate missing region directories when needed.
Examples
- Report extra regions for
table_1andtable_2in thedefaultnamespace:
Bash
hbase hbck -j <path-to-hbck2-jar> extraRegionsInMeta default:table_1 default:table_2- Report extra regions for
table_1in thedefaultnamespace and all tables in namespacens1:
Bash
hbase hbck -j <path-to-hbck2-jar> extraRegionsInMeta default:table_1 ns1- Fix (remove) extra regions for tables listed in
fileName1andfileName2:
Bash
hbase hbck -j <path-to-hbck2-jar> extraRegionsInMeta --fix -i fileName1 fileName2Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Nov 13, 2025
Was this page helpful?
Next to read:
filesystem (Hbck2)Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message