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/08/30 06:14:26 UTC

[GitHub] [hbase] infraio commented on a change in pull request #2126: HBASE-24759 Refuse to update configuration of default group

infraio commented on a change in pull request #2126:
URL: https://github.com/apache/hbase/pull/2126#discussion_r479727438



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
##########
@@ -1270,6 +1270,9 @@ public synchronized void renameRSGroup(String oldName, String newName) throws IO
   @Override
   public synchronized void updateRSGroupConfig(String groupName, Map<String, String> configuration)
       throws IOException {
+    if (RSGroupInfo.DEFAULT_GROUP.equals(groupName)) {
+      throw new ConstraintException(RSGroupInfo.DEFAULT_GROUP + " can't be stored persistently");

Review comment:
       Please add more comment here. 




----------------------------------------------------------------
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