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

Hudson commented on HBASE-11870:
--------------------------------

SUCCESS: Integrated in HBase-1.0 #360 (See 
[https://builds.apache.org/job/HBase-1.0/360/])
HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC 
and VC. (anoop.s.john: rev 4d385d1509d2b20fb0e455c20f28cf0d3b059001)
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/Tag.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/TagRewriteCell.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/SettableSequenceId.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/SettableTimestamp.java


> Optimization : Avoid copy of key and value for tags addition in AC and VC
> -------------------------------------------------------------------------
>
>                 Key: HBASE-11870
>                 URL: https://issues.apache.org/jira/browse/HBASE-11870
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance, security
>    Affects Versions: 0.98.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0, 0.99.2
>
>         Attachments: HBASE-11870.patch
>
>
> In AC and VC we have to add the per cell ACL tags/ visibility tags to Cells. 
> We get KeyValue objects and which need one backing array with key,value and 
> tags. So in order to add a tag we have to recreate buffer the and copy the 
> entire key , value and tags.  We can avoid this
> Create a new Cell impl which wraps the original Cell and fro the non tag 
> parts just refer this old buffer.
> This will contain a byte[] state for the tags part.
> Also we have to ensure we deal with Cells n write path not KV.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to