[ 
https://issues.apache.org/jira/browse/HBASE-9573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555241#comment-17555241
 ] 

Geoffrey Jacoby commented on HBASE-9573:
----------------------------------------

As of HBase 2.3 it's possible to use the listNamespaces method on Admin to 
achieve this without an exception (though it's O(N) where N is the number of 
namespaces)

> provide namespaceExists api
> ---------------------------
>
>                 Key: HBASE-9573
>                 URL: https://issues.apache.org/jira/browse/HBASE-9573
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Francis Christopher Liu
>            Priority: Major
>
> Presently in order to test existence of a namespace one has to use the get 
> api and catch the NamespaceNotFound exception. This is undersirable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to