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:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      From 2.0 branch onwards KVComparator and its subclasses MetaComparator, RawBytesComparator are all deprecated.
      All the comparators are moved to CellComparator. MetaCellComparator, a subclass of CellComparator, will be used to compare hbase:meta cells.
      Previously exposed static instances KeyValue.COMPARATOR, KeyValue.META_COMPARATOR and KeyValue.RAW_COMPARATOR are deprecated instead use CellComparator.COMPARATOR and CellComparator.META_COMPARATOR.
      Also note that there will be no RawBytesComparator. Where ever we need to compare raw bytes use Bytes.BYTES_RAWCOMPARATOR.
      CellComparator will always operate on cells and its components, abstracting the fact that a cell can be backed by a single byte[] as opposed to how KVComparators were working.
      Show
      From 2.0 branch onwards KVComparator and its subclasses MetaComparator, RawBytesComparator are all deprecated. All the comparators are moved to CellComparator. MetaCellComparator, a subclass of CellComparator, will be used to compare hbase:meta cells. Previously exposed static instances KeyValue.COMPARATOR, KeyValue.META_COMPARATOR and KeyValue.RAW_COMPARATOR are deprecated instead use CellComparator.COMPARATOR and CellComparator.META_COMPARATOR. Also note that there will be no RawBytesComparator. Where ever we need to compare raw bytes use Bytes.BYTES_RAWCOMPARATOR. CellComparator will always operate on cells and its components, abstracting the fact that a cell can be backed by a single byte[] as opposed to how KVComparators were working.

      Attachments

      1. HBASE-10800_29.patch
        378 kB
        ramkrishna.s.vasudevan
      2. HBASE-10800_28.patch
        378 kB
        ramkrishna.s.vasudevan
      3. HBASE-10800_27.patch
        378 kB
        ramkrishna.s.vasudevan
      4. HBASE-10800_26.patch
        379 kB
        ramkrishna.s.vasudevan
      5. HBASE-10800_25.patch
        378 kB
        ramkrishna.s.vasudevan
      6. HBASE-10800_24.patch
        366 kB
        ramkrishna.s.vasudevan
      7. HBASE-10800_23.patch
        364 kB
        ramkrishna.s.vasudevan
      8. HBASE-10800_23.patch
        364 kB
        ramkrishna.s.vasudevan
      9. HBASE-10800_18.patch
        389 kB
        ramkrishna.s.vasudevan
      10. HBASE-10800_16.patch
        388 kB
        ramkrishna.s.vasudevan
      11. HBASE-10800_15.patch
        387 kB
        ramkrishna.s.vasudevan
      12. HBASE-10800_14.patch
        387 kB
        ramkrishna.s.vasudevan
      13. HBASE-10800_13.patch
        388 kB
        ramkrishna.s.vasudevan
      14. HBASE-10800_12.patch
        392 kB
        ramkrishna.s.vasudevan
      15. HBASE-10800_11.patch
        391 kB
        ramkrishna.s.vasudevan
      16. HBASE-10800_7.patch
        356 kB
        ramkrishna.s.vasudevan
      17. HBASE-10800_6.patch
        272 kB
        ramkrishna.s.vasudevan
      18. HBASE-10800_5.patch
        268 kB
        ramkrishna.s.vasudevan
      19. HBASE-10800_4.patch
        273 kB
        ramkrishna.s.vasudevan
      20. HBASE-10800_4.patch
        273 kB
        ramkrishna.s.vasudevan
      21. HBASE-10800_3.patch
        274 kB
        ramkrishna.s.vasudevan
      22. HBASE-10800_2.patch
        201 kB
        ramkrishna.s.vasudevan
      23. HBASE-10800_1.patch
        177 kB
        ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: