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 deba7a34a69..727e86045d8 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 @@ -488,7 +488,7 @@ public class RSGroupAdminEndpoint implements MasterCoprocessor, MasterObserver { NamespaceDescriptor ns) throws IOException { String group = ns.getConfigurationValue(RSGroupInfo.NAMESPACE_DESC_PROP_GROUP); if(group != null && groupAdminServer.getRSGroupInfo(group) == null) { - throw new ConstraintException("Region server group "+group+" does not exit"); + throw new ConstraintException("Region server group " + group + " does not exist."); } } diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java index 7514ad9904c..502d92b0554 100644 --- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java +++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java @@ -357,7 +357,7 @@ public class RSGroupAdminServer implements RSGroupAdmin { @Override public void moveTables(Set tables, String targetGroup) throws IOException { if (tables == null) { - throw new ConstraintException("The list of servers cannot be null."); + throw new ConstraintException("The list of tables cannot be null."); } if (tables.size() < 1) { LOG.debug("moveTables() passed an empty set. Ignoring.");