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] [Updated] (HBASE-11438) [Visibility Controller] Support UTF8 character as Visibility Labels
Date Wed, 23 Jul 2014 10:04:38 GMT

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

ramkrishna.s.vasudevan updated HBASE-11438:

    Attachment: HBASE-11438_v2.patch

Wraps long lines.  The failed test case seems to pass locally. The failure log shows it is
not able to decode the UTF-8 character.
Users path the labels in addLabels, scan.setAuths and in the mutation.setCellVisibility.
While setting the visibility the user passes expressions that has '&','!' and '!'.
Now with this patch user is allowed to pass any character as the visibility label but the
thing to note here is that while using such characters or characters like '&','|','!'
in cell visibility as part of labels would require him to use CellVisibillity.quote() so that
these special characters are properly quoted.
While using it in Authorizations and addLabels the user can simply specify the special characters
as a normal String. Like 'a&B'. But when the same has to be use in cell visibility it
has to be quoted so that the system can differentiate between '&' use in the label and
'&' used as an operator in an expression.

> [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.5
>         Attachments: HBASE-11438_v1.patch, HBASE-11438_v2.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

View raw message