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

Andrew Purtell updated HBASE-11002:
-----------------------------------

    Attachment: HBASE-11002.patch

Attached patch tested manually. Added a label "secret". Applied the label to 
existing test data. Tried to scan it with a user without authorization, 
returned 0 rows. Tried to scan with authorization before the auth was added to 
the user's auth-set. Returned 0 rows, observed warning in log. Added the auth 
to the user's auth set. Scanned, got all expected rows. 

> Shell support for changing cell visibility for testing
> ------------------------------------------------------
>
>                 Key: HBASE-11002
>                 URL: https://issues.apache.org/jira/browse/HBASE-11002
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.99.0, 0.98.2
>
>         Attachments: HBASE-11002.patch
>
>
> Similar to HBASE-11001, for testing purposes it would be useful if the shell 
> can support a simple syntax for adding or changing the visibility expression 
> on existing cells, borrowing scanner specifications from the current 'scan' 
> command.
> {noformat}
> label '[<ns>:]<table>', '<visibilityExpression>', { ... }
> {noformat}
> where the last argument is the scanner specification.



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

Reply via email to