[
https://issues.apache.org/jira/browse/HBASE-8496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676625#comment-13676625
]
ramkrishna.s.vasudevan commented on HBASE-8496:
-----------------------------------------------
bq.Would suggest too that you start up a one or two page design doc.
Sure.
bq.You don't want to use a vint for length?
I can do this.
bq.For instance for ACL and Visibility, what will they look like?
ACL related tags will be something like UserTablePermissions saying which user
has what type of permissions.
{code}
new UserTablePermissions()
+ .add(user, new TablePermission(Permission.Action.READ)))
{code}
The above is an example from Andy's patch in HBASE-6222. Something like above
will now be added as part of tags.
Visibility tags are the ones that Accumulo supports. A set of valide ascii
characters that define the labels and thus ensuring authorization to the users
who pass those labels for reads.
bq.On the 1 byte type, I am not clear why.
This is something to be looked into keenly. My idea was if i say ACL and
Visibility are the two types of tags, i need to have different CPs to process
them. So now to identify which CP should do what, the tag needs some
categorization which is provided by the Type part. I will cover more on the doc
that i attach over here.
bq.Do you think we need tag iterators?
May be needed, will see if there is other way.
bq.Can tags not be first class beside timestamp, column qualifier, etc.
bq.Is putting tags after value a good idea?
Oops, So you mean that tags needs to be part of the KV comparisions itself. Was
thinking that would be a major change. So we need to sort KVs based on tags
also?
bq.Sounds like we need to change the hfileformats (smile)?
YEs ofcourse it needs change
bq.option tag part" is optionally adding tags to hfile?
Ya. So if the user does not have any tags atleast the hfiles that gets created
after compactions will be that of existing ones.
And thanks for your reviews/comments Stack.:)
[~apurtell]/[~anoopsamjohn]/[~anoop.hbase]
you would like to pitch in with your ideas here?
> Implement tags and the internals of how a tag should look like
> --------------------------------------------------------------
>
> Key: HBASE-8496
> URL: https://issues.apache.org/jira/browse/HBASE-8496
> Project: HBase
> Issue Type: New Feature
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.98.0
>
>
> The intent of this JIRA comes from HBASE-7897.
> This would help us to decide on the structure and format of how the tags
> should look like.
--
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