Apache9 commented on a change in pull request #2638:
URL: https://github.com/apache/hbase/pull/2638#discussion_r522685347



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.java
##########
@@ -236,8 +236,8 @@ protected void 
deserializeStateData(ProcedureStateSerializer serializer)
 
   @Override
   protected boolean waitInitialized(MasterProcedureEnv env) {
-    if (getTableName().isSystemTable()) {
-      // Creating system table is part of the initialization, so do not wait 
here.
+    if (getTableName().equals(TableName.NAMESPACE_TABLE_NAME)) {

Review comment:
       OK, checked the code, on branch-2 we still do not need to create 
namespace before loading meta. The creation of namespace is in 
initClusterSchemaService, which is far after we finish loading meta...




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to