hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18945) Make a Public interface for CellComparator
Date Fri, 06 Oct 2017 05:52:02 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194179#comment-16194179
] 

Anoop Sam John commented on HBASE-18945:
----------------------------------------

What I mean is the Comparator that we return from Store will be same as that we have in Region
right?  And again in StoreFile also.  The comparator will be diff at Table level. ie. for
META a special one. Thats it.  That is why I was asking .. Any way not a big deal. Even if
Store and StoreFile also expose it is just fine only.
bq.Should we purge the Serializable if we prepare to make CellComparator IA.Public?
May be we can. We are not serializing the comparator object. In HFiles, we just write the
comparator class name which is used

> Make a Public interface for CellComparator
> ------------------------------------------
>
>                 Key: HBASE-18945
>                 URL: https://issues.apache.org/jira/browse/HBASE-18945
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0-beta-1
>
>
> Based on discussions over in HBASE-18826 and HBASE-18183 it is better we expose CellComparator
as a public interface so that it could be used in Region/Store interfaces to be exposed to
CPs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message