Mohammad Arshad created HBASE-24019: ---------------------------------------
Summary: Correct exception messages for table null and namespace unavailable. Key: HBASE-24019 URL: https://issues.apache.org/jira/browse/HBASE-24019 Project: HBase Issue Type: Bug Reporter: Mohammad Arshad Assignee: Mohammad Arshad Exception message for following two scenarios should be corrected. 1. Change message to "The list of tables cannot be null." in below code {code:java} @Override public void moveTables(Set<TableName> tables, String targetGroup) throws IOException { if (tables == null) { throw new ConstraintException("The list of servers cannot be null."); } {code} 2. Change the message to "Region server group "+group+" does not exist" in below code. {code:java} public void preCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx, 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"); } } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)