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-7897) Add support for tags to Cell Interface
Date Thu, 14 Mar 2013 19:34:13 GMT

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

Andrew Purtell commented on HBASE-7897:
---------------------------------------

bq. I could see an tagIterator() api added that iterates thro the tags, so is it like every
time iterate to find out which is my Visisbility tag.

If all tags are materialized into a contiguous buffer for iteration, then the iterator will
be fast. We may want to do this because the common case will be zero or one tag per KV.

bq. Will there be a mechanism which says visibility tag should be the first tag or second
. something like that?

What happens if two different pieces of code say "my tag should go first"? The Cell interface
won't and cannot know application details to break such ties, it would have to be done arbitrarily.
Hence such a mechanism isn't workable?
                
> Add support for tags to Cell Interface
> --------------------------------------
>
>                 Key: HBASE-7897
>                 URL: https://issues.apache.org/jira/browse/HBASE-7897
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>            Priority: Critical
>             Fix For: 0.95.0
>
>
> Cell Interface has suppport for mvcc.   The only thing we'd add to Cell in the near future
is support for tags it would seem.  Should be easy to add.  Should add it now.  See backing
discussion here: https://issues.apache.org/jira/browse/HBASE-7233?focusedCommentId=13573784&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13573784
> Matt outlines what the additions to Cell might look like here:
> https://issues.apache.org/jira/browse/HBASE-7233?focusedCommentId=13531619&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13531619
> Would be good to get these in now.
> Marking as 0.96.  Can more later.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message