Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Open a new HBase region without Hbase restart

avatar
New Contributor

Hi,

 

after running

hbase-hbck2-1.1.0.jar fixMeta

to fix a hole in one table, the newly created region is assigned but no region server has taken it under management.

SteffenMangold_0-1634767222350.png

 

How can I set the region into transmission so it is served by one region server?
Is there a way to do this without restarting the HBase service?

Regards
Steffen

 

2 REPLIES 2

avatar
Super Collaborator

Hello @SteffenMangold 

 

Thanks for using Cloudera Community. Based on the Post, Your Team wish to assign a Region (Which isn't assigned to any RegionServer) without any HBase Restart.

 

We wish to confirm whether your Team tried using the following approaches:

  • HBCK2 Assign as documented via [1]. The Command requires the Region ID as argument & returns a PID, which can be viewed via HMaster UI "Locks & Procedures" or "list_procedures" via HBase Shell for Success/Failure.
  • Within HBase Shell, There are "assigns" Or "move" Command allowing Destination Region Server to be specified as well. 

Your Team may have tried the above Command yet the Outcome of the above Command would confirm if there is any Underlying concerns with the Region, which requires additional intervention like HBase Service Restart (Or, HMaster Restart which should spawn an Assignment Manager Thread afresh). 

 

Regards, Smarak

 

[1] https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2#running-hbck2

avatar
Super Collaborator

Hello @SteffenMangold 

 

Kindly let us know if the Post was Helpful for your Team. If Yes, Please mark the Post as Solved. If No, Do share the Outcome of the Command shared in our Post. Accordingly, We shall review & get back to you.

 

Regards, Smarak