hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [1/4] hbase git commit: HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
Date Sat, 16 Dec 2017 01:54:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 ff023bcc4 -> dfd4df6d8
  refs/heads/branch-1.4 84ebc82eb -> f2b8a4278
  refs/heads/branch-2 4c2b2b3e6 -> 4db2f5116
  refs/heads/master f9f869f60 -> d276c3275


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/dfd4df6d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dfd4df6d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dfd4df6d

Branch: refs/heads/branch-1
Commit: dfd4df6d8f80a20348b9e428c579f5b824f37924
Parents: ff023bc
Author: Andrew Purtell <apurtell@apache.org>
Authored: Fri Dec 15 09:11:11 2017 -0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Fri Dec 15 16:15:47 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/dfd4df6d/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


Mime
View raw message