hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10800) Use CellComparator instead of KVComparator
Date Tue, 01 Jul 2014 18:22:26 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ramkrishna.s.vasudevan updated HBASE-10800:
-------------------------------------------

    Attachment: HBASE-10800_1.patch

Changes KVComparator to implement CellComparator. All core methods are in CellComparator.
 MetaComparator is still in KV because it is handling special cases.  All changes done in
the read path mostly. 
Removed some of the methods from KeyValue and moved to KeyValueUtil. So KeyValue class is
cleaned up.
SamePrefixCompartor is removed as it was not getting used except in testcase.  Still running
testcases, most of them are passing.  
This would help in adding comparator methods in the CellComparator that could even compare
offheap bytes.  Will it be better to make CellComparator an interface? Thoughts?

> Use CellComparator instead of KVComparator
> ------------------------------------------
>
>                 Key: HBASE-10800
>                 URL: https://issues.apache.org/jira/browse/HBASE-10800
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10800_1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message