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:00:40 GMT
Repository: hbase
Updated Branches:
  refs/heads/master eebff56fe -> 104afd74a


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/104afd74
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/104afd74
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/104afd74

Branch: refs/heads/master
Commit: 104afd74a664d90fe8e3aa57b0722ab04908525c
Parents: eebff56
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Dec 13 16:00:33 2017 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Dec 13 16:00:33 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/104afd74/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