Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11425 Cell/DBB end-to-end on the read-path
  3. HBASE-13641

Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in favor of filterRowKey(Cell firstRowCell)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Filters, regionserver, Scanners
    • None
    • Reviewed

    Description

      This is in path towards HBASE-13387
      When the scan contains any filter, we have to call the filterRowKey(byte[],int,int) API. (Even if it is not interested in this method)
      When the Cells coming in is offheap backed, we would need temp byte[] creation and copy row bytes to that. If we can make this Filter API to take a cell (which is the first cell in any row), we can avoid this overhead.
      In 2.0.0 we will deprecate the old API with addition of new and FilterBase will give BC for old style custom Filters.

      Attachments

        1. HBASE-13641.patch
          31 kB
          Anoop Sam John
        2. HBASE-13641.patch
          42 kB
          Anoop Sam John
        3. HBASE-13641_V2.patch
          41 kB
          Anoop Sam John
        4. HBASE-13641_V3.patch
          42 kB
          Anoop Sam John
        5. HBASE-13641_V4.patch
          44 kB
          Anoop Sam John
        6. HBASE-13641_V5.patch
          44 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: