Affects Version/s: None
Fix Version/s: None
Component/s: Region Assignment
Currently the namespace table region is assigned like user regions.
I spent several hours working with a customer where master couldn't finish initialization.
Even though master was restarted quite a few times, it went down with the following:
During previous run(s), namespace table was created, hence leaving an entry in hbase:meta.
The following if block in TableNamespaceManager#start() was skipped:
TableNamespaceManager#start() spins, waiting for namespace region to be assigned.
There was issue in master assigning user regions.
We tried issuing 'assign' command from hbase shell which didn't work because of the following check in MasterRpcServices#assignRegion():
This scenario can be avoided if we assign hbase:namespace table after hbase:meta is assigned but before user table region assignment.