From 4db2f5116918fa213be35911bafb37889dfdf61e Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Fri, 15 Dec 2017 09:27:49 -0800 Subject: [PATCH] HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException --- .../org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java index 9e3dcac975a..433f7bc6bc0 100644 --- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java +++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java @@ -341,7 +341,7 @@ public class RSGroupAdminEndpoint implements MasterCoprocessor, MasterObserver { // Assign table to default RSGroup. @Override - public void preCreateTable(ObserverContext ctx, + public void postCreateTable(ObserverContext ctx, TableDescriptor desc, RegionInfo[] regions) throws IOException { assignTableToGroup(desc); }