You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2017/12/16 01:54:07 UTC
[2/4] hbase git commit: HBASE-19509
RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f2b8a427
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f2b8a427
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f2b8a427
Branch: refs/heads/branch-1.4
Commit: f2b8a4278504cbd658b4260750b9f11ca86dc950
Parents: 84ebc82
Author: Andrew Purtell <ap...@apache.org>
Authored: Fri Dec 15 09:11:11 2017 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Dec 15 16:15:50 2017 -0800
----------------------------------------------------------------------
.../org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/f2b8a427/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
----------------------------------------------------------------------
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 44bd946..a09010e 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
@@ -358,7 +358,6 @@ public class RSGroupAdminEndpoint extends RSGroupAdminService
public void preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx,
HTableDescriptor desc, HRegionInfo[] regions) throws IOException {
groupAdminServer.prepareRSGroupForTable(desc);
- assignTableToGroup(desc);
}
// Remove table from its RSGroup.
@@ -374,7 +373,7 @@ public class RSGroupAdminEndpoint extends RSGroupAdminService
public void postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx,
HTableDescriptor desc,
HRegionInfo[] regions) throws IOException {
-
+ assignTableToGroup(desc);
}
@Override