hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15665) Support using different StoreFileComparators for different CompactionPolicies
Date Mon, 18 Apr 2016 20:02:25 GMT

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

Ted Yu commented on HBASE-15665:
--------------------------------

{code}
172	  Comparator<StoreFile> getStoreFileComparator();
{code}
This method can be package private, right ?

> Support using different StoreFileComparators for different CompactionPolicies
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-15665
>                 URL: https://issues.apache.org/jira/browse/HBASE-15665
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>         Attachments: HBASE-15665.patch
>
>
> Now for DateTieredCompactionPolicy, if we output multiple files when compaction, we will
use the same max sequence id for all the output files(see HBASE-15389 for more details). So
we need to sort the store files by timestamp if they have the same max sequence id which is
different from the original store file comparator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message