How Do I Restore a Region in the RIT State for a Long Time?
Question
How do I restore a region in the RIT state for a long time?
Answer
Log in to the HMaster WebUI, choose Procedure & Locks in the navigation tree, and check whether any process ID is in the Waiting state. If yes, run the following command to release the procedure lock:
hbase hbck -j /opt/client/HBase/hbase/tools/hbase-hbck2-2.2.3-hw-ei-*.jar bypass -o pid
Check whether the state is in the Bypass state. If the procedure on the UI is always in RUNNABLE(Bypass) state, perform an active/standby switchover. Run the assigns command to bring the region online again.
hbase hbck -j /opt/client/HBase/hbase/tools/hbase-hbck2-2.2.3-hw-ei-*.jar assigns -o regionName
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.