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

Purge RawBytescomparator from the writers and readers for HBASE-10800

    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

      Currently KeyValue.RAW_COMPARATOR is written in the Trailer of the HFiles. Ideally this need not be persisted to the trailer of the Hfiles because only the ROW bloom and the meta index blocks uses this. Currently RAW_COMPARATOR is also of type KVComparator.
      HBASE-10800 would introduce CellComparator and would expect only cells to be compared. We cannot have RAW_COMPARATOR a type of CellComparator. Hence it is better to avoid writing the RAW_COMPARATOR to the FFT and whereever we need RAW_COMPARATOR we will directly use it as Bytes.BYTES_RAWCOMPARATOR.

        Attachments

        1. HBASE-13450.patch
          14 kB
          ramkrishna.s.vasudevan
        2. HBASE-13450_5.patch
          20 kB
          ramkrishna.s.vasudevan
        3. HBASE-13450_4.patch
          20 kB
          ramkrishna.s.vasudevan
        4. HBASE-13450_3.patch
          18 kB
          ramkrishna.s.vasudevan
        5. HBASE-13450_2.patch
          17 kB
          ramkrishna.s.vasudevan

          Activity

            People

            • Assignee:
              ram_krish ramkrishna.s.vasudevan
              Reporter:
              ram_krish ramkrishna.s.vasudevan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: