Refuse operations from Admin before master is initialized - fix for all branches
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afcdced021
commit
9989f83699
@ -1208,6 +1208,7 @@ Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
HRegionInfo [] newRegions = getHRegionInfos(hTableDescriptor, splitKeys);
|
HRegionInfo [] newRegions = getHRegionInfos(hTableDescriptor, splitKeys);
|
||||||
|
checkInitialized();
|
||||||
if (cpHost != null) {
|
if (cpHost != null) {
|
||||||
cpHost.preCreateTable(hTableDescriptor, newRegions);
|
cpHost.preCreateTable(hTableDescriptor, newRegions);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user