Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
2.0.0-alpha-4
-
None
-
None
Description
When cluster start up first time with rsgroup feature, system tables hbase:quota and hbase:acl will be in OFFLINE state:
hbase:quota,,1511254877213.0627adae8630c21f4456984713cdffc8. state=OFFLINE, ts=Tue Nov 21 17:03:37 CST 2017 (0s ago), server=localhost,1,1
It seems that the balancer doesn't know which server to assign the regions,since that rsgroup information of the two system tables found to be null.
I read the code and found a issue in rsgroup startup procedure : the rsgroup starts up before the creating of the two system tables(hbase:quota, hbase:acl), so rsgroupStartupWorker only adds hbase:meta and hbase:namespace into default group by following function:
specialTables = masterServices.listTableNamesByNamespace(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR)
Attachments
Issue Links
- Is contained by
-
HBASE-19757 System table gets stuck after enabling region server group feature in secure cluster
- Resolved
-
HBASE-20566 Creating a system table after enabling rsgroup feature puts region into RIT
- Resolved