ddupg commented on a change in pull request #1994:
URL: https://github.com/apache/hbase/pull/1994#discussion_r527343969
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableDescriptorBuilder.java
##########
@@ -541,7 +541,11 @@ public TableDescriptorBuilder setReplicationScope(int
scope) {
}
public TableDescriptorBuilder setRegionServerGroup(String group) {
- desc.setValue(RSGROUP_KEY, new Bytes(Bytes.toBytes(group)));
+ if (group == null) {
Review comment:
Thank @infraio for reviewing.
I've added an UT to show how to unset by shell, but it's no different than
before.
----------------------------------------------------------------
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:
[email protected]