Support Questions

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

Hbase - Orphan Regions on Filesystem shows (967 regions in set)

avatar
Explorer

Hi ,

After accessing the hbase master ui link in production , under hbck we see there are 967 regions under ophan regions in filesystem.

 

Can someone please help us as to how can we clear them.

 

Thanks.

@gsharma 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hello @ASIF123 

 

Thanks for using Cloudera Community. For the Orphan Region, We need to confirm the Source.

 

  • Will recommend checking the Region IDs in "hbase:meta" Table & HBase Data Directory.
  • If the Region IDs aren't present in "hbase:meta" Table with only Region Directory present, Check if the Region Directory has any StoreFiles or "recovered.edits" file.
  • If no StoreFiles or "recovered.edits" files are present, It's likely the Regions are part of Split or Merge (Verifiable by HMaster Logs) & we can safely sideline the Region Directories. 
  • If no StoreFiles are present yet "recovered.edits" files are present, Again check if the Regions are part of Split or Merge (Verifiable by HMaster Logs), Use WALPlayer to replay the "recovered.edits" files to be on safer side & then, sideline the Region Directories.

 

- Smarak

View solution in original post

4 REPLIES 4

avatar
Super Collaborator

Hello @ASIF123 

 

Thanks for using Cloudera Community. For the Orphan Region, We need to confirm the Source.

 

  • Will recommend checking the Region IDs in "hbase:meta" Table & HBase Data Directory.
  • If the Region IDs aren't present in "hbase:meta" Table with only Region Directory present, Check if the Region Directory has any StoreFiles or "recovered.edits" file.
  • If no StoreFiles or "recovered.edits" files are present, It's likely the Regions are part of Split or Merge (Verifiable by HMaster Logs) & we can safely sideline the Region Directories. 
  • If no StoreFiles are present yet "recovered.edits" files are present, Again check if the Regions are part of Split or Merge (Verifiable by HMaster Logs), Use WALPlayer to replay the "recovered.edits" files to be on safer side & then, sideline the Region Directories.

 

- Smarak

avatar
Super Collaborator

Hello @ASIF123 

 

Checking whether the concerned issue posted by your team has been resolved. If Yes, Kindly mark the Post as Solved. If No, Kindly review our Post dated 12/18 & share the outcome of the Action Plan shared.

 

- Smarak

avatar
Contributor

part of Split or Merge (Verifiable by HMaster Logs)

 

what log and what in the log lets you know its part of a split or merge?

 

avatar
Community Manager

@regeamor As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks!


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: