Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 78D5D200C10 for ; Fri, 3 Feb 2017 18:23:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 776D9160B43; Fri, 3 Feb 2017 17:23:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BEFAD160B3F for ; Fri, 3 Feb 2017 18:23:55 +0100 (CET) Received: (qmail 64167 invoked by uid 500); 3 Feb 2017 17:23:54 -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 64156 invoked by uid 99); 3 Feb 2017 17:23:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2017 17:23:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7872F18231E for ; Fri, 3 Feb 2017 17:23:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KvORyTVP6LBy for ; Fri, 3 Feb 2017 17:23:53 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 07ACA5FB79 for ; Fri, 3 Feb 2017 17:23:53 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 34D98E05AE for ; Fri, 3 Feb 2017 17:23:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 936BD25292 for ; Fri, 3 Feb 2017 17:23:51 +0000 (UTC) Date: Fri, 3 Feb 2017 17:23:51 +0000 (UTC) From: "huaxiang sun (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16981) Expand Mob Compaction Partition policy from daily to weekly, monthly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Feb 2017 17:23:56 -0000 [ https://issues.apache.org/jira/browse/HBASE-16981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15851770#comment-15851770 ] huaxiang sun commented on HBASE-16981: -------------------------------------- Thanks [~jingcheng.du] and [~anoop.hbase] for design discussion, and review. A minor question, since there is a new config knob added, do I need to update the release note? > Expand Mob Compaction Partition policy from daily to weekly, monthly > -------------------------------------------------------------------- > > Key: HBASE-16981 > URL: https://issues.apache.org/jira/browse/HBASE-16981 > Project: HBase > Issue Type: New Feature > Components: mob > Affects Versions: 2.0.0 > Reporter: huaxiang sun > Assignee: huaxiang sun > Fix For: 2.0.0 > > Attachments: HBASE-16981.master.001.patch, HBASE-16981.master.002.patch, HBASE-16981.master.003.patch, HBASE-16981.master.004.patch, HBASE-16981.master.005.patch, HBASE-16981.master.006.patch, HBASE-16981.master.007.patch, HBASE-16981.master.008.patch, Supportingweeklyandmonthlymobcompactionpartitionpolicyinhbase.pdf > > > Today the mob region holds all mob files for all regions. With daily partition mob compaction policy, after major mob compaction, there is still one file per region daily. Given there is 365 days in one year, at least 365 files per region. Since HDFS has limitation for number of files under one folder, this is not going to scale if there are lots of regions. To reduce mob file number, we want to introduce other partition policies such as weekly, monthly to compact mob files within one week or month into one file. This jira is create to track this effort. -- This message was sent by Atlassian JIRA (v6.3.15#6346)