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:
larsh 2012-04-24 05:12:45 +00:00
parent afcdced021
commit 9989f83699
1 changed files with 1 additions and 0 deletions

View File

@ -1208,6 +1208,7 @@ Server {
}
HRegionInfo [] newRegions = getHRegionInfos(hTableDescriptor, splitKeys);
checkInitialized();
if (cpHost != null) {
cpHost.preCreateTable(hTableDescriptor, newRegions);
}