【转】HBASE Region in Transition issue on Master UI
Problem Description:
When the HBASE Region In Transition issue occurs on Master UI, check the hbck -details. There could be multiple reasons for this issue to occur. However, if there are any inconsistencies, an error like the following will be displayed in hbck -details:
Cause:
When a Region Split is marked as Yes, it means that the Region is candidate for Split, and 02 Daughter Regions would be hosted. However, during the process of splitting, if a region get stuck in splitting stage (because of region server restart), the above error will be displayed in hbck -details.
Solution:
To resolve this issue, run the following command:
In that case where we have overlapped regions, we need to run below to fix them-
About:
This article created by Hortonworks Support (Article: 000008066) on 2019-04-18 12:50
OS: Linux
Type: Cluster-Administration
Version: HDP
When the HBASE Region In Transition issue occurs on Master UI, check the hbck -details. There could be multiple reasons for this issue to occur. However, if there are any inconsistencies, an error like the following will be displayed in hbck -details:
- ERROR: Region { meta => status_hbase_historic_2018_bckup,COL_P_11057715947,
- 1545968041870.5d44a1eec86e57eab8bfc85c2764c371., hdfs =>
- hdfs://<nameservice>/apps/hbase/data/data/default/status_hbase_historic_2018_bckup/
- 5d44a1eec86e57eab8bfc85c2764c371, deployed => , replicaId => 0 } is a split parent in META,
- in HDFS, and not deployed on any region server.
- This could be transient, consider to run the catalog janitor first!
Cause:
When a Region Split is marked as Yes, it means that the Region is candidate for Split, and 02 Daughter Regions would be hosted. However, during the process of splitting, if a region get stuck in splitting stage (because of region server restart), the above error will be displayed in hbck -details.
Solution:
To resolve this issue, run the following command:
- hbase hbck -fixSplitParents
In that case where we have overlapped regions, we need to run below to fix them-
- hbase hbck -fixHdfsOverlaps
- hbase> assign "4edbb392a982b7846a91311d30e9fe21"
About:
This article created by Hortonworks Support (Article: 000008066) on 2019-04-18 12:50
OS: Linux
Type: Cluster-Administration
Version: HDP
Support ID: 000008066