[
https://issues.apache.org/jira/browse/HBASE-24019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064111#comment-17064111
]
Hudson commented on HBASE-24019:
--------------------------------
Results for branch branch-2.2
[build #823 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/823/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/823//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/823//JDK8_Nightly_Build_Report_(Hadoop2)/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/823//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> 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
> Priority: Minor
> Fix For: 2.3.0, 2.2.4, 2.4.0, 2.1.10
>
>
> 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)