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 8FA70104EE for ; Thu, 16 Jan 2014 07:11:24 +0000 (UTC) Received: (qmail 8419 invoked by uid 500); 16 Jan 2014 07:11:16 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 8299 invoked by uid 500); 16 Jan 2014 07:11:15 -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 8289 invoked by uid 99); 16 Jan 2014 07:11:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 07:11:13 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_IMAGE_ONLY_20,HTML_MESSAGE,HTML_SHORT_LINK_IMG_3,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bharathv@cloudera.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 07:11:08 +0000 Received: by mail-wi0-f176.google.com with SMTP id hi8so1776901wib.15 for ; Wed, 15 Jan 2014 23:10:47 -0800 (PST) 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:content-type; bh=2gv5HHS6Wxd/61DJY2gOA3AlpbWTfZAgVb4gm2ExDVE=; b=jTRYo0xoIgOmhisZZKx52oQuaPkAcB0AscCUBt+h4zC5Jpaukms6zbNulfSpR9OUCo m3t0pLTNgfIlZmP238MhtPVfBsmchRaKXoLLxWRUwuvDOM9i3Ub8mH6zWeUtKYRBp1qU yvcFjFO59Chd+2sgazbcUJVlCegTtfsO8S1xGAI/SUzjkaLaxievBuOjG2geQsiUITP9 7+NjF62dNdUXfQFrwl0KmPdt2E7OJ9mJ8zUc+9qnUzirx1nvzImmrwqr+C/DKv+S72bn lVc9yWgZYKIpm0nbbevKjtas7OnQcTWJiQRVXaPI6J3S54yZetIM1rJhvLKoMoNfCfbq zkDg== X-Gm-Message-State: ALoCoQnoE+rdygZx45rZUg6jJ5VkmW3RxVnLVJekHupvMERf+6Iw/R7wm3YC34tYOMfwdWvCBDTu X-Received: by 10.180.76.103 with SMTP id j7mr6338966wiw.58.1389856247706; Wed, 15 Jan 2014 23:10:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.140.71 with HTTP; Wed, 15 Jan 2014 23:10:27 -0800 (PST) In-Reply-To: References: From: Bharath Vissapragada Date: Thu, 16 Jan 2014 12:40:27 +0530 Message-ID: Subject: Re: How to shrink HBase region size? To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d043c7cc6ef0b0a04f0111f4a X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c7cc6ef0b0a04f0111f4a Content-Type: text/plain; charset=ISO-8859-1 Your subject seems to be different from your actual question. If you want to reduce the number of regions, you can increase the hbase.hregion.max.filesize and do region merge (offline merge suggested ,hbase org.apache.hadoop.hbase.util.Merge tbl_name region_1 region_2). You can use compression to reduce per region size. On Thu, Jan 16, 2014 at 12:27 PM, Ramon Wang wrote: > Hi All > > I'm wondering is there a simple way we can decrease the number of regions > for a table? We are using HBase 0.94.6-cdh4.4.0, one of our table has more > than 100 regions, following is some information of the table: > > SPLIT_POLICY => > 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy', > MAX_FILESIZE => '21474836480', > > I hope i could increase MAX_FILESIZE to some bigger value before, but we > already have data in that table, so any ideas? Thanks. > > Cheers > Ramon > -- Bharath Vissapragada --f46d043c7cc6ef0b0a04f0111f4a--