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

Add support for tags to Cell Interface

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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. HBASE-7897.patch
          7 kB
          ramkrishna.s.vasudevan
        2. HBASE-7897_1.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-7897_2.patch
          3 kB
          ramkrishna.s.vasudevan
        4. 7897v3.txt
          3 kB
          Michael Stack
        5. 7897v4.txt
          4 kB
          Michael Stack

          Issue Links

            Activity

              People

              • Assignee:
                ram_krish ramkrishna.s.vasudevan
                Reporter:
                stack Michael Stack
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: