Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13500 Deprecate KVComparator and move to CellComparator
  3. HBASE-13998

Remove CellComparator#compareRows(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      A public API in CellComparator which takes old style byte[], offset, length alone is not correct. CellComparator supposed to compare cell(s). At least one side param has to be a cell.. This is the agreement we discussed in HBASE-10800. Still we could not remove the above one method because it was getting used from multiple places. Now most of the usage is removed. This jira aims at removing it fully and replace the usage with other APIs.
      Note: The CellComparator is added in 2.0 only so removing the public API is not creating any BC issue.

        Attachments

        1. HBASE-13998.patch
          12 kB
          Anoop Sam John
        2. HBASE-13998_addendum.patch
          1 kB
          Anoop Sam John

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: