HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
This commit is contained in:
parent
4c2b2b3e6a
commit
4db2f51169
|
@ -341,7 +341,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