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

Add support for tags to Cell Interface

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.95.1
    • None
    • None
    • Reviewed
    • Hide
      Added below to Cell Interface:

      {code}
      + /**
      + * @return the tags byte array
      + */
      + byte[] getTagsArray();

      + /**
      + * @return the first offset where the tags start in the Cell
      + */
      + int getTagsOffset();
      +
      + /**
      + * @return the total length of the tags in the Cell.
      + */
      + int getTagsLength();
      {code}
      Show
      Added below to Cell Interface: {code} + /** + * @return the tags byte array + */ + byte[] getTagsArray(); + /** + * @return the first offset where the tags start in the Cell + */ + int getTagsOffset(); + + /** + * @return the total length of the tags in the Cell. + */ + int getTagsLength(); {code}

    Description

      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.

      Attachments

        1. 7897v3.txt
          3 kB
          Michael Stack
        2. 7897v4.txt
          4 kB
          Michael Stack
        3. HBASE-7897_1.patch
          4 kB
          ramkrishna.s.vasudevan
        4. HBASE-7897_2.patch
          3 kB
          ramkrishna.s.vasudevan
        5. HBASE-7897.patch
          7 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              ram_krish ramkrishna.s.vasudevan
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: