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?
unassigns (Hbck2)
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Performs a raw unassign of one or more regions.
This command bypasses HBase Coprocessors and can be used even during Master initialization when the -skip flag is provided.
Use with extreme caution.
Command Syntax
Bash
hbase hbck -j <path-to-hbck2-jar> unassigns [OPTIONS] [<ENCODED_REGIONNAME>... | -i <INPUT_FILE>...]Options
-o,--overrideOverrides ownership if the region is currently owned by another procedure.-i,--inputFiles <file1> [<file2>...]Specifies one or more files containing encoded region names, one per line.-b,--batchSize <number>Specifies the number of regions to process per batch. This is useful when unassigning a large number of regions to avoidCallTimeoutException. Default:-1(no batching).
Description
Provide one or more encoded region names to unassign those regions from their current RegionServer.
Examples of encoded region names:
- User-space region:
de00010733901a05f5a2a3a382e27dd4 - The
hbase:metaregion (hard-coded):1588230740
This command schedules unassign operations directly, without validation from Coprocessors or other safety layers. It should be used only in scenarios where standard assignment procedures are blocked or non-functional.
Return Value
- PID(s) of the created UnassignProcedure instances, or
-1if no procedures were created
See Also
org.apache.hbase.hbck1.OfflineMetaRepair(offline meta-repair tool) Refer to the HBCK2 README for usage details.
Examples
- Unassign the
hbase:metaregion and a specific user region:
Bash
hbase hbck -j <path-to-hbck2-jar> unassigns 1588230740 de00010733901a05f5a2a3a382e27dd4- Unassign regions listed in two files, batching 500 regions at a time:
Bash
hbase hbck -j <path-to-hbck2-jar> unassigns -i fileName1 fileName2 -b 500Type 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:
Troubleshooting ODP SSL, Keystore, and TruststoreDiscard 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