[ 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)