unassign
Definition
Unassigns the defined Region. The command closes the Region in its current location and then reopens it again. Can be applied only to assigned Regions.
CAUTION
This command is for expert use only. In the case of double assignments, use hbck -fix to resolve conflicts.
|
Usage
unassign '<region_name>' | '<encoded_region_name>'[,
<force_unassign>]
Parameter | Description |
---|---|
region_name |
A Region name without its encoded part. For example, if the full Region name is |
encoded_region_name |
An encoded part of the Region name. For example, if the full Region name is |
force_unassign |
Use |
Examples
hbase(main):011:0> unassign 'wordcount2,m,1637833871529' Took 1.1734 seconds hbase(main):013:0> assign 'wordcount2,m,1637833871529' Took 1.1425 seconds hbase(main):014:0> unassign '2ff3683a90c4106432c540ddd0f57cba' Took 1.1506 seconds hbase(main):015:0> assign '2ff3683a90c4106432c540ddd0f57cba' Took 1.1368 seconds