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 039B61765E for ; Tue, 12 May 2015 13:21:41 +0000 (UTC) Received: (qmail 76906 invoked by uid 500); 12 May 2015 13:21:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 76829 invoked by uid 500); 12 May 2015 13:21:34 -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 76817 invoked by uid 99); 12 May 2015 13:21:34 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 13:21:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DD42BC43CF for ; Tue, 12 May 2015 13:21:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id zIUGNs2wIlwD for ; Tue, 12 May 2015 13:21:24 +0000 (UTC) Received: from BLU004-OMC2S34.hotmail.com (blu004-omc2s34.hotmail.com [65.55.111.109]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9FFDA25327 for ; Tue, 12 May 2015 13:21:23 +0000 (UTC) Received: from BLU436-SMTP51 ([65.55.111.71]) by BLU004-OMC2S34.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 12 May 2015 06:20:55 -0700 X-TMN: [c6vHdr/k+WDXqfpqx5WYf46jMFyl8Yj5] X-Originating-Email: [michael_segel@hotmail.com] Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Regions and Rowkeys From: Michael Segel In-Reply-To: Date: Tue, 12 May 2015 08:20:53 -0500 Content-Transfer-Encoding: quoted-printable References: To: user@hbase.apache.org X-Mailer: Apple Mail (2.2098) X-OriginalArrivalTime: 12 May 2015 13:20:54.0033 (UTC) FILETIME=[79464810:01D08CB6] Yeah, its about time. What a slacker! :-P > On May 11, 2015, at 6:56 PM, Jean-Marc Spaggiari = wrote: >=20 > This? http://shop.oreilly.com/product/0636920033943.do >=20 > 2015-05-11 18:55 GMT-04:00 Michael Segel : >=20 >> Why would you expect to have a region allocated to all of the region >> servers? >> You generate a region based on either pre-splitting (you set the = region=E2=80=99s >> key range) , or you start with one region and grow from there. >>=20 >> Please read either Lars George=E2=80=99s book (dated) or Nick = Dimiduk=E2=80=99s book. >> (Sorry but has Lars George ever done a second or third edition yet? ) >>=20 >>=20 >>> On May 11, 2015, at 5:38 PM, Arun Patel = wrote: >>>=20 >>> I have some basic questions on regions. >>>=20 >>> 1) I have a 10 node HBase cluster. When I create a table in HBase, = how >>> many regions will be allocated by default? I looked at the HBase = Master >> UI >>> and it seems regions are not allocated to all the Regionservers by >>> default. How can I allocate the regions in all Region Servers? >> Basically, >>> This distributes the data in a better way If I am using a slated = key. My >>> requirement is to distribute the data across the cluster using = salted >>> keys. But, Having few regions is a constraint? >>>=20 >>> 2) How does the rowkey to region mapping works? In Cassandra, we = have a >>> concept of assigning token range for each node. Rowkey will be = assigned >> to >>> a node based on the token range. How does this work in HBase? >>>=20 >>> Regards, >>> Arun >>=20 >> The opinions expressed here are mine, while they may reflect a = cognitive >> thought, that is purely accidental. >> Use at your own risk. >> Michael Segel >> michael_segel (AT) hotmail.com >>=20 >>=20 >>=20 >>=20 >>=20 >>=20