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-10885) Support visibility expressions on Deletes
Date Mon, 07 Jul 2014 10:05:34 GMT

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

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

Just to add on 
The deletes happen based on pattern matching.  If suppose a Cell has SECRET&TOPSECRET
as the visibility expression then any delete coming with the same expression is matched for,
but TOPSECRET&SECRET is also considered to be same
A&B<=>B&A
A|B<=>B|A.
This is the difference between what Accumulo does in terms of delete where only the exact
match is looked out for.

> Support visibility expressions on Deletes
> -----------------------------------------
>
>                 Key: HBASE-10885
>                 URL: https://issues.apache.org/jira/browse/HBASE-10885
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.1
>            Reporter: Andrew Purtell
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Blocker
>             Fix For: 0.99.0, 0.98.4, 2.0.0
>
>         Attachments: 10885-org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes-output.txt,
HBASE-10885_0.98_1.patch, HBASE-10885_1.patch, HBASE-10885_2.patch, HBASE-10885_branch_1.patch,
HBASE-10885_new_tag_type_1.patch, HBASE-10885_new_tag_type_2.patch, HBASE-10885_v1.patch,
HBASE-10885_v12.patch, HBASE-10885_v12.patch, HBASE-10885_v13.patch, HBASE-10885_v15.patch,
HBASE-10885_v17.patch, HBASE-10885_v17.patch, HBASE-10885_v2.patch, HBASE-10885_v2.patch,
HBASE-10885_v2.patch, HBASE-10885_v3.patch, HBASE-10885_v4.patch, HBASE-10885_v5.patch, HBASE-10885_v7.patch,
HBASE-10885_v8.patch, HBASE-10885_v9.patch
>
>
> Accumulo can specify visibility expressions for delete markers. During compaction the
cells covered by the tombstone are determined in part by matching the visibility expression.
This is useful for the use case of data set coalescing, where entries from multiple data sets
carrying different labels are combined into one common large table. Later, a subset of entries
can be conveniently removed using visibility expressions.
> Currently doing the same in HBase would only be possible with a custom coprocessor. Otherwise,
a Delete will affect all cells covered by the tombstone regardless of any visibility expression
scoping. This is correct behavior in that no data spill is possible, but certainly could be
surprising, and is only meant to be transitional. We decided not to support visibility expressions
on Deletes to control the complexity of the initial implementation.



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

Mime
View raw message