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 0F22CE0DE for ; Fri, 18 Jan 2013 02:26:23 +0000 (UTC) Received: (qmail 92841 invoked by uid 500); 18 Jan 2013 02:26:21 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 92759 invoked by uid 500); 18 Jan 2013 02:26:21 -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 92749 invoked by uid 99); 18 Jan 2013 02:26:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 02:26:21 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anilgupta84@gmail.com designates 74.125.83.54 as permitted sender) Received: from [74.125.83.54] (HELO mail-ee0-f54.google.com) (74.125.83.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 02:26:15 +0000 Received: by mail-ee0-f54.google.com with SMTP id c41so1563768eek.41 for ; Thu, 17 Jan 2013 18:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=6y2HpeuLgpOAejP+kU2B7H3w5I0ozkcm9/EcoWrC7PQ=; b=w+TnM2A7nL29iek4gSR1ibEgPfbo3uerfbS0N1gJPjxxSxuC8xkHGIq+MEyAN8v3TT zvzrQPh1PHYZkXHP+MX08Cm5QMbx+mtW+8Q+6YFxAIoDLzsTHWui2hMYQT+RQRKVQaAP reUXmK8Y2PJcQeAcY7rYdksAb1lVO61UpcIQRRgamZzbkxxT43ymxlC0v/EfAV69F0uO YqBq3ynaBFIGo4in81Zh9pdY/sQI2NrstsIwkMZixcUJ9OaA61FGCUcjISAyY0OMcfy0 zIeBV9cPlqEGn3bb8T0jrscLESjW04l66ejBYrYjcXm5VWtjow2yDei9TFhFaRoSH+GK +8Yg== X-Received: by 10.14.219.3 with SMTP id l3mr20698431eep.5.1358475954502; Thu, 17 Jan 2013 18:25:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.159.135 with HTTP; Thu, 17 Jan 2013 18:25:34 -0800 (PST) In-Reply-To: References: From: anil gupta Date: Thu, 17 Jan 2013 18:25:34 -0800 Message-ID: Subject: Re: RegionSplitter command To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7b621b90b43c9704d386d4e3 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b621b90b43c9704d386d4e3 Content-Type: text/plain; charset=ISO-8859-1 Hi Jean, Yes, i am stuck with 0.92.1. Thanks for your response. I think, i will need to dig more deep into this. ~Anil On Thu, Jan 17, 2013 at 3:02 PM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > Hi Anil, > > bin/hbase org.apache.hadoop.hbase.util.RegionSplitter -c 60 -f f1 test > HexStringSplit > > is working for me. > > So your 2nd line should work. I'm not sure if it's because of the > version since I'm using 0.94.4. > > Can you upgrade your version and retry? Or you need to stay with 0.92.1? > > JM > > 2013/1/17, anil gupta : > > Hi All, > > > > I am using HBase0.92.1. I am trying to run ycsb tests on my hbase > cluster. > > But while running the load test with 40 threads i am getting hotspots on > > the RS that is hosting the Region of 'usertable'. Currently, the empty > > table only has one region. So, i want to pre-split my 'usertable' using > the > > RegionSplitter utility. > > HexStringSplit is the splitting algorithm, 'c' is the name of the column > > family. I tried the following commands but they didnt work: > > > > 1. hbase org.apache.hadoop.hbase.util.RegionSplitter usertable > > HexStringSplit -c 60 -f c > > 2. hbase org.apache.hadoop.hbase.util.RegionSplitter -c 60 -f c > > usertable HexStringSplit > > > > Following is the output of above commands: > > > > usage: RegionSplitter > > -c Create a new table with a pre-split number of > > regions > > -D Override HBase Configuration Settings > > -f Column Families to create with new table. > > Required with -c > > -h Print this usage help > > -o Max outstanding splits that have unfinished > > major compactions > > -r Perform a rolling split of an existing region > > --risky Skip verification steps to complete > > quickly.STRONGLY DISCOURAGED for production > > systems. > > > > > > Please let me know the proper command for RegionSplitter utility. > > > > -- > > Thanks & Regards, > > Anil Gupta > > > -- Thanks & Regards, Anil Gupta --047d7b621b90b43c9704d386d4e3--