hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-19434 create_namespace command for existing namespace does not throw useful error message
Date Thu, 14 Dec 2017 00:01:43 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 d2ffd5d7e -> b682ea7c8


HBASE-19434 create_namespace command for existing namespace does not throw useful error message


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b682ea7c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b682ea7c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b682ea7c

Branch: refs/heads/branch-2
Commit: b682ea7c8a433e3fa6cb56e0d26147b0527d81f8
Parents: d2ffd5d
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Dec 13 16:01:38 2017 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Dec 13 16:01:38 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/NamespaceExistException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b682ea7c/hbase-client/src/main/java/org/apache/hadoop/hbase/NamespaceExistException.java
----------------------------------------------------------------------
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 393a003..23fa130 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");
   }
 }


Mime
View raw message