hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11438) [Visibility Controller] Support UTF8 character as Visibility Labels
Date Wed, 13 Aug 2014 18:40:12 GMT

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

ramkrishna.s.vasudevan commented on HBASE-11438:
------------------------------------------------

+1 on documenting the way we should use Authorizations, the way labels are specified and using
quotes on Cell Visibility. 
bq.new Authorizations("\"CONFIDENTIAL&PRIVATE\"");
In this example what I would think is we it is just simple for the user to say ("CONFIDENTIAL&PRIVATE").
 May be those escape sequences are themselves not needed.  Its bit tricky if we don;t have
proper documentation. 
If we try to add this behaviour to Authorization in the future seeing what issue users are
facing in a future JIRA, is that the right way to approach this? 
Not only in authorizations we need to do this but also in addLabels.  Ensure that before doing
addLabels we need to strip the double quotes and the escape character that we add.

> [Visibility Controller] Support UTF8 character as Visibility Labels
> -------------------------------------------------------------------
>
>                 Key: HBASE-11438
>                 URL: https://issues.apache.org/jira/browse/HBASE-11438
>             Project: HBase
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.98.4
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.98.6
>
>         Attachments: HBASE-11438_v1.patch, HBASE-11438_v2.patch, HBASE-11438_v3.patch,
HBASE-11438_v4.patch, HBASE-11438_v5.patch, HBASE-11438_v6.patch, HBASE-11438_v7.patch, HBASE-11438_v8.patch,
HBASE-11438_v9.patch
>
>
> This would be an action item that we would be addressing so that the visibility labels
could have UTF8 characters in them.  Also allow the user to use a client supplied API that
allows to specify the visibility labels inside double quotes such that UTF8 characters and
cases like &, |, ! and double quotes itself could be specified with proper escape sequence.
 Accumulo too provides one such API in the client side.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message