Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7320 Remove KeyValue.getBuffer()
  3. HBASE-10944

Remove all kv.getBuffer() and kv.getRow() references existing in the code

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • None
    • 2.0.0-alpha-3, 2.0.0
    • None
    • None
    • Hide
      We wont't be removing KeyValue.getBuffer() afterall. Instead we will only expose it for tests so in this issue we un-deprecate getBuffer and add VisibleForTesting instead. See https://issues.apache.org/jira/browse/HBASE-18795 for follow-on.
      Show
      We wont't be removing KeyValue.getBuffer() afterall. Instead we will only expose it for tests so in this issue we un-deprecate getBuffer and add VisibleForTesting instead. See https://issues.apache.org/jira/browse/HBASE-18795 for follow-on.

    Description

      kv.getRow() and kv.getBuffers() are still used in places to form key byte[] and row byte[]. Removing all such instances including testcases will make the usage of Cell complete.

      Attachments

        1. HBASE-10944_master.patch
          1 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ram_krish ramkrishna.s.vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: