HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
This commit is contained in:
parent
f9f869f60a
commit
d276c3275e
|
@ -340,7 +340,7 @@ public class RSGroupAdminEndpoint implements MasterCoprocessor, MasterObserver {
|
||||||
|
|
||||||
// Assign table to default RSGroup.
|
// Assign table to default RSGroup.
|
||||||
@Override
|
@Override
|
||||||
public void preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx,
|
public void postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx,
|
||||||
TableDescriptor desc, RegionInfo[] regions) throws IOException {
|
TableDescriptor desc, RegionInfo[] regions) throws IOException {
|
||||||
assignTableToGroup(desc);
|
assignTableToGroup(desc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue