Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11870

Optimization : Avoid copy of key and value for tags addition in AC and VC

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.0
    • Fix Version/s: 0.99.2
    • Component/s: Performance, security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HBASE-11870.patch
          15 kB
          Anoop Sam John

        Issue Links

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment