Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 9705 invoked from network); 7 Oct 2010 02:52:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Oct 2010 02:52:16 -0000 Received: (qmail 42602 invoked by uid 500); 7 Oct 2010 02:52:15 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 42492 invoked by uid 500); 7 Oct 2010 02:52: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 42484 invoked by uid 99); 7 Oct 2010 02:52:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 02:52:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdcryans@gmail.com designates 209.85.214.169 as permitted sender) Received: from [209.85.214.169] (HELO mail-iw0-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 02:52:10 +0000 Received: by iwn2 with SMTP id 2so449040iwn.14 for ; Wed, 06 Oct 2010 19:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=VLoSzNRiJqU+DT0D/nouGWJ219sgCugtJjkzA7wfivM=; b=mlotahZMPZvTitfzy4xf+aEETnXWD5hG/mY2o7JAH6D35vsOJE/IePMW7CzZPY5kzL Hs2PSr2/zdBcXdjM3we8sppdk1MBFffYWjPv5dAngLi3uSpuPJecZq42Il6qpTKaeWTH N3mWEh9gq2NAGUDVoqrEwfkcW/6r1rCltUL80= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=glmMPuODMZ7boS2gN3FLwtNe9KmjBJFQhl+KsuYq4tYpSJL2DIuHT+PuL4ML7LF2CM sa7u3Rpau8u9pq8anqOkLWs3f5/GsesmLaS91yE6hxsHp7/Ns9emm3RjB+S2J+iK3IZH XulxXWS+1ssLAuAAChsMt7w0TZVWerR3s65pQ= MIME-Version: 1.0 Received: by 10.231.169.203 with SMTP id a11mr140634ibz.99.1286419908716; Wed, 06 Oct 2010 19:51:48 -0700 (PDT) Sender: jdcryans@gmail.com Received: by 10.231.19.137 with HTTP; Wed, 6 Oct 2010 19:51:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Oct 2010 19:51:48 -0700 X-Google-Sender-Auth: McjzjpOV111MknJRvNQLnT_yqV0 Message-ID: Subject: Re: Can I pick which region server to store my row? From: Jean-Daniel Cryans To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 0.90.0 wasn't released yet, the current stable version is 0.20.6 For more information on HBase versions, see http://wiki.apache.org/hadoop/Hbase/HBaseVersions J-D On Wed, Oct 6, 2010 at 2:36 PM, William Kang wrote: > By the way, where can I get a stable version of 0.90? Thanks. > > > Cao > > On Wed, Oct 6, 2010 at 12:54 PM, Jean-Daniel Cryans wrote: > >> Like Stack said, it's available in 0.90 which we're currently wrapping >> up (so not in 0.20.x). >> >> Distributing regions and distributing blocks is orthogonal (ish, but >> for this discussion let's not mix the two together), the former being >> assumed by the HBase master and the latter being assumed by the >> Namenode. Maybe this blog post can help you understanding how HBase >> uses HDFS >> http://www.larsgeorge.com/2009/10/hbase-architecture-101-storage.html >> >> J-D >> >> On Tue, Oct 5, 2010 at 8:38 PM, William Kang >> wrote: >> > So, I can use the 'move' command to manually balance the load? Is this >> > available to 0.20.6? Was there any automatic balance mechanism in hbase >> > before if the replicated block is not for load distribution purpose? >> Thanks. >> > >> > >> > William >> > >> > On Tue, Oct 5, 2010 at 11:19 PM, Stack wrote: >> > >> >> In 0.90, you can turn off the balancer and then distribute the regions >> >> any way you wish with new 'move' command. >> >> St.Ack >> >> >> >> On Tue, Oct 5, 2010 at 8:13 PM, Jean-Daniel Cryans > > >> >> wrote: >> >> > A row is always served a single region, so the question is more about >> >> > region distribution. In 0.20 and 0.89 you have no control over that >> >> > (the best you can do is calling close_region in the shell, where is >> >> > the region will be moved is "random"), but things are getting better >> >> > in 0.90 where you'll be able to move regions manually. >> >> > >> >> > HBase doesn't create multiple copies of HFiles to distribute load, >> >> > what happens is each block is replicated 3 times by HDFS and this is >> >> > invisible to HBase. This is done for data safety rather than >> >> > distributing the load. >> >> > >> >> > J-D >> >> > >> >> > On Tue, Oct 5, 2010 at 8:05 PM, William Kang >> >> wrote: >> >> >> Hi folks, >> >> >> I have a general question about Hbase. Can we pick which region >> server >> >> we >> >> >> want to save a particular row? The reason I am asking this is because >> >> >> sometimes we want to manually balance region servers' load. If we >> could >> >> >> assign particular rows to particular region servers, we can have that >> >> >> control. I understand that Hbase will balance its load automatically >> by >> >> >> create multiple copies of hfiles in HDFS. But, we do want to have >> more >> >> >> control over that. Is it possible or is it already in Hbase but we >> >> didn't >> >> >> find it? Many thanks. >> >> >> >> >> >> >> >> >> William >> >> >> >> >> > >> >> >> > >> >