Created on 01-27-2021 09:03 AM - last edited on 01-27-2021 09:45 PM by VidyaSargur
HI all,
I m using HBase with HDP 3.1.0. Ambari shows that a total of 63 Regions are in transition. This RIT issue is causing problems for other dependent application. Is there a way to fix this without deleting any data/directory?
Also, hbck is not working with HBase 2.0.
Any help will be deeply appreciated.
Thank you!
Created 02-02-2021 05:54 AM
Hi @smdas
Yes, we were able to bring region servers online and the RIT count was reduced to zero.
With the help of this thread Hbase HBCK2 I was able to create the HBCK2 jar. From the Hbase Master logs (or UI) I got the regions which were in transition and then simply looped through the list:
for i in `cat /apps/hbase/in_CLOSING.txt`; do hbase hbck -j /apps/hbase/hbase-hbck2-1.1.0-SNAPSHOT.jar -s setRegionState $i CLOSED; done;
Created 02-01-2021 05:40 AM
Hello @rajatsachan
Thanks for the Update concerning the post. Based on your Update, Your team used the HBCK2 Jar to move the RegionState to CLOSED. Post the concerned change, Were you able to successfully bring the Regions Online as well ? If Yes, Kindly confirm & share the steps to ensure fellow Community Users like @sainivedant41 can use the same as well.
- Smarak
Created 02-02-2021 05:54 AM
Hi @smdas
Yes, we were able to bring region servers online and the RIT count was reduced to zero.
With the help of this thread Hbase HBCK2 I was able to create the HBCK2 jar. From the Hbase Master logs (or UI) I got the regions which were in transition and then simply looped through the list:
for i in `cat /apps/hbase/in_CLOSING.txt`; do hbase hbck -j /apps/hbase/hbase-hbck2-1.1.0-SNAPSHOT.jar -s setRegionState $i CLOSED; done;
Created 02-02-2021 12:05 PM
Hello @rajatsachan
Thanks for sharing the details into the Steps used by you to resolve the issue. This would definitely assist fellow Community Members facing similar issues. If you have no further concerns, Kindly mark the Post as Solved as well.
Thanks, Smarak