hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11438) [Visibility Controller] Support UTF8 character as Visibility Labels
Date Thu, 31 Jul 2014 20:16:39 GMT

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

Andrew Purtell commented on HBASE-11438:
----------------------------------------

This is what I'm talking about:
{code}
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestScan.java b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestScan.java
index 97c5f0f..93ab89f 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestScan.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestScan.java
@@ -114,56 +114,21 @@ public class TestScan {
   @Test
   public void testSetAuthorizations() {
     Scan scan = new Scan();
-    scan.setAuthorizations(new Authorizations("A", "B", "0123", "A0", "1A1", "_a"));
     try {
+      scan.setAuthorizations(new Authorizations("五|四"));
{code}
Please don't embed unicode characters in source files.

> [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, HBASE-11438_v3.patch,
HBASE-11438_v4.patch, HBASE-11438_v5.patch, HBASE-11438_v6.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