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 CCFFBEBB2 for ; Wed, 23 Jan 2013 12:27:34 +0000 (UTC) Received: (qmail 49243 invoked by uid 500); 23 Jan 2013 12:27:32 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 46793 invoked by uid 500); 23 Jan 2013 12:27:27 -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 46760 invoked by uid 99); 23 Jan 2013 12:27:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 12:27:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 12:27:19 +0000 Received: by mail-ob0-f173.google.com with SMTP id dn14so996061obc.4 for ; Wed, 23 Jan 2013 04:26:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=jODbFH1X2eVFUrSNBatU2dUcSkc7CLE5ch6yPOINSQc=; b=mIbj2lsnLx8DtXQs2T0YiSd0jA3y7pizKASUxRs7UER0xM8Iw+RKreIdznKvZGgXhB FJbzPrtYtTC8nKNu9fXeOML9YYo/j48/r15lJjMNH8ZUV9zJiE0A3CAngvRvpdafb9sD 3P2NrXJBD5QDx/d2lSuGRovFqPiFO1B2SrWg8YM841ICz/2BStX3782fdi0ZrNQsYAfu LReCO0IVqjgRhqNg1dPI/U5SvJtVAvFFMKeEUShOzExpBEEmJ14IXnKqJ4bHtBE+7JV2 XrXYUO3Tb1+i1vwQl/nKesvEqKOea9Cz9ipMMydPA/RwHX/vq9/wl3kGjmnyKwRk7gXp fFrA== MIME-Version: 1.0 X-Received: by 10.182.69.71 with SMTP id c7mr751988obu.92.1358944018733; Wed, 23 Jan 2013 04:26:58 -0800 (PST) Received: by 10.182.129.233 with HTTP; Wed, 23 Jan 2013 04:26:58 -0800 (PST) In-Reply-To: <0CE69E9126D0344088798A3B7F7F80863AEBE07A@SZXEML553-MBX.china.huawei.com> References: <0CE69E9126D0344088798A3B7F7F80863AEBE07A@SZXEML553-MBX.china.huawei.com> Date: Wed, 23 Jan 2013 07:26:58 -0500 Message-ID: Subject: Re: HBase split policy From: Jean-Marc Spaggiari To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmr+ye3Q1HzQXtFM7xsOwk8cEfNHKBUn9jeA4DbqWMbJjrfKumyC6hiR3GAvEMxKPOd/Ry9 X-Virus-Checked: Checked by ClamAV on apache.org Hi Anoop, I ran another major_compact and the split is now totally done. Question is, why has it not been done initially when I ran the first major_compact. No idea. I will re-merge the file into one single region and re-compact to see if I can reproduce that. JM 2013/1/23, Anoop Sam John : >>What will trigger the split? > The things which can trigger a split > 1. Explicit split call from the client side using admin API > 2. A memstore flush > 3. A compaction > > So even though there is no write operations happening on the region (no > flushes) still a compaction performed for that region can trigger split. > May be in your case compaction happened for some of the regions and resulted > in split... > > -Anoop- > ________________________________________ > From: Jean-Marc Spaggiari [jean-marc@spaggiari.org] > Sent: Wednesday, January 23, 2013 8:09 AM > To: user@hbase.apache.org > Subject: Re: HBase split policy > > Another related question. > > What will trigger the split? > > I mean, I merge all the regions in a single one, split that in 4 2.5GB > regions, alter it to set maxsize to 300MB and enable the table. I > don't do anything. No put, no get. What will trigger the regions > split? > > I have one small table, about 1.2GB with 8M lines. I merged it in a > single region, and setup the maxsize to the 12MB. It got almost > split... All the regions got split except one. > > Here is the screenshot: > http://imageshack.us/photo/my-images/834/hannibalb.png/ > > It's not the first region, not the last. There is nothing specific > with this region, and it's not getting split. > > Any idea why, and how I can trigger the split without putting any data > into the date? > > Thanks, > > JM