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 EF13C18DED for ; Tue, 29 Mar 2016 02:36:25 +0000 (UTC) Received: (qmail 83138 invoked by uid 500); 29 Mar 2016 02:36:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 83061 invoked by uid 500); 29 Mar 2016 02:36: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 83026 invoked by uid 99); 29 Mar 2016 02:36:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 02:36:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 81EFA2C14FB for ; Tue, 29 Mar 2016 02:36:25 +0000 (UTC) Date: Tue, 29 Mar 2016 02:36:25 +0000 (UTC) From: "Clara Xiong (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15339) Improve DateTieredCompactionPolicy 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-15339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215300#comment-15215300 ] Clara Xiong commented on HBASE-15339: ------------------------------------- maxAge, in short words, is the configuration to control how far you go when promoting tiers. Once a window is out of this range, say more than a year old from current time, we don't combine the windows to promote to the next tiers any more. It doesn't mean they are out of compaction control. Within DTC, minor compaction won't touch these files any more but major compaction will still touch them. It actually makes TTL or archiving much simpler and more efficient since any files older than max age but younger than TTL (or no TTL) will not be combined(I used the term "compacted" but this might confusing) into larger sizes.This way, TTL and archiving process can just scan from oldest files to remove/archive files based on their time range instead of scanning a very large file from major compaction by Ratio-based compaction. The design here is similar to FIFOCompactionPolicy you described. > Improve DateTieredCompactionPolicy > ---------------------------------- > > Key: HBASE-15339 > URL: https://issues.apache.org/jira/browse/HBASE-15339 > Project: HBase > Issue Type: Improvement > Components: Compaction > Reporter: Duo Zhang > > Add multi-output support. > Add archive old data support. > ... -- This message was sent by Atlassian JIRA (v6.3.4#6332)