Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 828EE19620 for ; Mon, 4 Apr 2016 15:55:21 +0000 (UTC) Received: (qmail 58054 invoked by uid 500); 4 Apr 2016 15:55:20 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 57978 invoked by uid 500); 4 Apr 2016 15:55:20 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 57966 invoked by uid 99); 4 Apr 2016 15:55:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2016 15:55:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3E4651A4600 for ; Mon, 4 Apr 2016 15:55:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id MMfCMl-dIA3r for ; Mon, 4 Apr 2016 15:55:18 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id DB25D5F20E for ; Mon, 4 Apr 2016 15:55:17 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id p188so150092751lfd.0 for ; Mon, 04 Apr 2016 08:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=senpLKIG2sS81T3IkIqQYFsG15Z4dZy83nSbCOM8XMI=; b=xYNswG43he9ExlfjN9JWTMovhO4i5G/6BYcYrJ1Jty/giujNQBXVFKV8qIr086U01a SpjNQd+nOsOHAfksBoD22ilY4OD2V5RfGArW6QZe4uV9Hi0k/uXaswrApPj0E3btMGtK FX5ZK18jOSPL7m2xqyug+qMW8dGkyPY6BUdZ/LZpUp7ze3e0f/ycbwVsC5rAnkrou6sK cFrm2Z6+i9zisfP8VIh2hPHJe/eSs54SPqE+U4x75EbnokDA8cZDi44N7r11vBOESWz6 aOHhaxr9HesdD3Zw7gEdGYekL/Htx/msgWbvEFI5HiG3hJb/lV+LAuPHuNTcqmySa+D2 YJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=senpLKIG2sS81T3IkIqQYFsG15Z4dZy83nSbCOM8XMI=; b=VFJBNqEwXX0Stw1AM0RjJB6AASlCxhfUcEcgochtI7WrFRcMtt9edT1hLrskJT2nSV qWee1QOKlYRLotugD1MpEPJMrmdwpsxXNnwLLXz1lwgR3aoKm8WJMj4wQbiifT3RGGAm e5hckZ+HPnr5QxugyoV6ZShRe25pOF5gEF/+Ee+Dx6CEW7EIanTVyqDqfkMP76T87bHM ycpKZPf6bTxope2N6aqhE7ZtSYskjJFw0cWxC36fjxXBSRYocikqwcqClLbM5op6lZPX 4WAkfTSbiHhLzrgVPA1tQKjesRdwfeoR14JiQQaBmsiO/obo0YFj3dZ4DmlC/lZW6/H8 b7zA== X-Gm-Message-State: AD7BkJKJlzO0nzlgJ9GLs94dA/Dpe2I2ImwMVrFcZx0u511V1+KqSze6fzTitpFxUgu3PqYSYKo0x83OBp0Qjk35 X-Received: by 10.25.43.1 with SMTP id r1mr5222946lfr.63.1459785316562; Mon, 04 Apr 2016 08:55:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.78.144 with HTTP; Mon, 4 Apr 2016 08:55:01 -0700 (PDT) In-Reply-To: <867548231.2580606.1459784159946.JavaMail.yahoo@mail.yahoo.com> References: <867548231.2580606.1459784159946.JavaMail.yahoo.ref@mail.yahoo.com> <867548231.2580606.1459784159946.JavaMail.yahoo@mail.yahoo.com> From: Esteban Gutierrez Date: Mon, 4 Apr 2016 08:55:01 -0700 Message-ID: Subject: Re: Major compaction To: "user@hbase.apache.org" , Sumit Nigam Content-Type: multipart/alternative; boundary=001a11401ba83e2393052faac153 --001a11401ba83e2393052faac153 Content-Type: text/plain; charset=UTF-8 Hello Sumit, Ideally you shouldn't be triggering major compactions that frequently since minor compactions should be taking care of reducing the number of store files. The caveat of doing it more frequently is the additional disk/network I/O. Can you please elaborate more on "reduce stress by spreading the load." Is there anything else you are seeing in your cluster that is suggesting to you to lower the period for major compactions? esteban. -- Cloudera, Inc. On Mon, Apr 4, 2016 at 8:35 AM, Sumit Nigam wrote: > Hi, > Are there major overheads to running major compaction frequently? As much > as I know, it produces one Hfile for a region and processes delete markers > and version related drops. So, if this process has happened once say. a few > mins back then another major compaction should ideally not cause much harm. > Why I am trying to understand this is because Hbase also sets it to 24 > hour default (for time based compaction) and I am looking to lower it to > say 20 mins to reduce stress by spreading the load. > Or am I completely off-track? > Thanks,Sumit --001a11401ba83e2393052faac153--