Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48D9B18988 for ; Sun, 17 Apr 2016 14:21:26 +0000 (UTC) Received: (qmail 53183 invoked by uid 500); 17 Apr 2016 14:21:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 53096 invoked by uid 500); 17 Apr 2016 14:21:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 53002 invoked by uid 99); 17 Apr 2016 14:21:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2016 14:21:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8E61D2C1F54 for ; Sun, 17 Apr 2016 14:21:25 +0000 (UTC) Date: Sun, 17 Apr 2016 14:21:25 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15665) Support using different StoreFileComparators for different CompactionPolicies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-15665: ------------------------------ Attachment: HBASE-15665.patch Add a {{getStoreFileComparator}} method to {{StoreFileManager}}. > 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)