[
https://issues.apache.org/jira/browse/HBASE-22377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell updated HBASE-22377:
-----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: (was: 1.3.5)
(was: 2.2.1)
(was: 2.1.5)
(was: 1.4.10)
Release Note: This change adds the new method listNamespaces to the Admin
interface, which can be used to retrieve a list of the namespaces present in
the schema as an unprivileged operation. Formerly the only available method for
accomplishing this was listNamespaceDescriptors, which requires GLOBAL CREATE
or ADMIN permissions.
Status: Resolved (was: Patch Available)
Pushed to branch-1, branch-2, and master
> Provide API to check the existence of a namespace which does not require
> ADMIN permissions
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-22377
> URL: https://issues.apache.org/jira/browse/HBASE-22377
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 1.3.2
> Reporter: Chinmay Kulkarni
> Assignee: Andrew Purtell
> Priority: Major
> Fix For: 3.0.0, 1.5.0, 2.3.0
>
> Attachments: HBASE-22377-branch-1.patch, HBASE-22377-branch-1.patch,
> HBASE-22377-branch-1.patch, HBASE-22377-branch-2.patch,
> HBASE-22377-branch-2.patch, HBASE-22377-branch-2.patch, HBASE-22377.patch,
> HBASE-22377.patch, HBASE-22377.patch
>
>
> Currently, to check the existence of a namespace, clients canĀ useĀ
> HBaseAdmin#getNamespaceDescriptor. eEventually on the server-side, this calls
> AccessController#preGetNamespaceDescriptor which tries to acquire ADMIN
> permissions for that namespace.
> We should have an API for clients to be able to check the existence of a
> namespace, without necessarily obtaining the namespace descriptor. Such an
> API would not require ADMIN permissions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)