You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/03/23 02:10:28 UTC

[GitHub] [hbase] binlijin commented on a change in pull request #1319: HBASE-24032 [RSGroup] Assign created tables to respective rsgroup aut…

binlijin commented on a change in pull request #1319: HBASE-24032 [RSGroup] Assign created tables to respective rsgroup aut…
URL: https://github.com/apache/hbase/pull/1319#discussion_r396182686
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
 ##########
 @@ -1181,4 +1224,9 @@ public void moveServers(Set<Address> servers, String targetGroupName) throws IOE
     }
   }
 
+  @Override
+  public String determineRSGroupInfoForTable(TableName tableName) {
+    return script.getRSGroup(tableName.getNamespaceAsString(), tableName.getQualifierAsString());
 
 Review comment:
   What about store the group info as a TableDescriptor attribute?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services