You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/07/21 05:47:04 UTC

[jira] [Updated] (HBASE-14122) Client API for determining if server side supports cell level security

     [ https://issues.apache.org/jira/browse/HBASE-14122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-14122:
-----------------------------------
    Attachment: HBASE-14122.patch

Patch implements the proposal. Adds a new shell command too. Since the answer to the question "what security features are supported?" varies depending on the set of installed coprocessors we return a set of capabilities contributed by base HBase and any installed coprocessors. 

Except: The proposed throw of UnsupportedOperationException. Instead it's an IOException. This is because what is unwrapped from the server is not an UOE and it would take matching over the message string to distinguish a UOE. (That is what the shell does to respond with a nice message.) Could do it in the API too but that would be brittle.  

> Client API for determining if server side supports cell level security
> ----------------------------------------------------------------------
>
>                 Key: HBASE-14122
>                 URL: https://issues.apache.org/jira/browse/HBASE-14122
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.14, 1.2.0, 1.3.0
>
>         Attachments: HBASE-14122.patch
>
>
> Add a client API for determining if the server side supports cell level security. 
> Ask the master, assuming as we do in many other instances that the master and regionservers all have a consistent view of site configuration.
> Return {{true}} if all features required for cell level security are present, {{false}} otherwise, or throw {{UnsupportedOperationException}} if the master does not have support for the RPC call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)