From 104afd74a664d90fe8e3aa57b0722ab04908525c Mon Sep 17 00:00:00 2001 From: tedyu Date: Wed, 13 Dec 2017 16:00:33 -0800 Subject: [PATCH] HBASE-19434 create_namespace command for existing namespace does not throw useful error message --- .../java/org/apache/hadoop/hbase/NamespaceExistException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/NamespaceExistException.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/NamespaceExistException.java index 393a003802c..23fa130092b 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/NamespaceExistException.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/NamespaceExistException.java @@ -32,6 +32,6 @@ public class NamespaceExistException extends DoNotRetryIOException { } public NamespaceExistException(String namespace) { - super(namespace); + super("Namespace " + namespace + " already exists"); } }